X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FTestResources.py;h=741e3dcd57639dd3321d0e67231e44be06d2a0ce;hb=391c72035c0d4786c5a958be2854262b9523b935;hp=0041404cb4844b8e19ca36afbead092f5ceda0e9;hpb=f107a49edc5b9ce0dec718021a407f081283c6e5;p=tests.git diff --git a/system/TestResources.py b/system/TestResources.py index 0041404..741e3dc 100644 --- a/system/TestResources.py +++ b/system/TestResources.py @@ -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)