From 391c72035c0d4786c5a958be2854262b9523b935 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sun, 7 Feb 2010 12:24:54 +0000 Subject: [PATCH] fix: successful run was wrongly reporting error - fix: trackers consistency --- system/TestResources.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.43.0