From 6ec743cb25671a39afc4c9f7430416bffcffda5e Mon Sep 17 00:00:00 2001 From: Benjamin Blanc <benjamin.blanc@tiolive.com> Date: Wed, 12 Jun 2013 16:12:24 +0200 Subject: [PATCH] Fix log call --- erp5/util/testnode/ScalabilityTestRunner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erp5/util/testnode/ScalabilityTestRunner.py b/erp5/util/testnode/ScalabilityTestRunner.py index adc238b8e7..1c981c4c99 100644 --- a/erp5/util/testnode/ScalabilityTestRunner.py +++ b/erp5/util/testnode/ScalabilityTestRunner.py @@ -113,8 +113,9 @@ class ScalabilityTestRunner(): print test_configuration self.involved_nodes = test_configuration['involved_nodes'] self.launchable = test_configuration['launchable'] + if self.launchable == False: - self.log("Test suite %s is not launchable with the current \ + self.testnode.log("Test suite %s is not launchable with the current \ cluster configuration." %(node_test_suite.test_suite_title,)) # wich code to return ? return {'status_code' : 1} -- 2.30.9