From: Thierry Parmentelat Date: Sun, 7 Feb 2010 12:24:54 +0000 (+0000) Subject: fix: successful run was wrongly reporting error - fix: trackers consistency X-Git-Tag: tests-5.0-2~11 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=391c72035c0d4786c5a958be2854262b9523b935;p=tests.git fix: successful run was wrongly reporting error - fix: trackers consistency --- diff --git a/system/TestResources.py b/system/TestResources.py index 3e0e320..741e3dc 100644 --- a/system/TestResources.py +++ b/system/TestResources.py @@ -143,11 +143,11 @@ class TestResources: # as a plc step this should return a boolean def step_pre (self,plc): - return self.trqemu_record (plc) and self.trqemu_free(plc) - return self.trplc_record (plc) and self.trplc_free(plc) + return self.trqemu_record (plc) and self.trqemu_free(plc) \ + and self.trplc_record (plc) and self.trplc_free(plc) def step_post (self,plc): - pass + return True def step_cleanup (self,plc): return self.trqemu_cleanup(plc) and self.trplc_cleanup(plc)