From 51fddd4990c9a122b26e5a2f2603f6aa5b0178bb Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Mon, 8 Feb 2010 14:16:03 +0000 Subject: [PATCH] catching the failure right in the test method --- system/TestPlc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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" -- 2.45.2