fix: successful run was wrongly reporting error - fix: trackers consistency
[tests.git] / system / TestResources.py
index 0041404..741e3dc 100644 (file)
@@ -143,10 +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.trqemu_record (plc) and self.trqemu_free(plc) \
+           and self.trplc_record (plc) and self.trplc_free(plc)
 
     def step_post (self,plc):
-        return self.trplc_record (plc) and self.trplc_free(plc)
+        return True
 
     def step_cleanup (self,plc):
         return self.trqemu_cleanup(plc) and self.trplc_cleanup(plc)