git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
catching the failure right in the test method
[tests.git]
/
system
/
TestPlc.py
diff --git
a/system/TestPlc.py
b/system/TestPlc.py
index
487884f
..
3fbcb09
100644
(file)
--- 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"