From: Anil-Kumar Vengalil Date: Mon, 8 Feb 2010 14:16:03 +0000 (+0000) Subject: catching the failure right in the test method X-Git-Tag: tests-5.0-2~9 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=51fddd4990c9a122b26e5a2f2603f6aa5b0178bb;p=tests.git catching the failure right in the test method --- diff --git a/system/TestPlc.py b/system/TestPlc.py index 487884f..3fbcb09 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -1102,8 +1102,7 @@ class TestPlc: def stop_sfa(self): "service sfa stop" - self.run_in_guest('service sfa stop') - return True + return self.run_in_guest('service sfa stop')==0 def populate (self): "creates random entries in the PLCAPI"