oops
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 14 Feb 2008 17:24:27 +0000 (17:24 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 14 Feb 2008 17:24:27 +0000 (17:24 +0000)
system/TestMain.py

index d73cae3..2748150 100755 (executable)
@@ -177,8 +177,8 @@ steps refer to a method in TestPlc or to a step_* module
             spec['disabled'] = False
         all_plcs = [ (x, TestPlc(x)) for x in all_plc_specs]
         # expose to the various objects
-        for plc in all_plcs:
-            plc.options=self.options
+        for (spec,obj) in all_plcs:
+            obj.options=self.options
 
         overall_result = True
         testplc_method_dict = __import__("TestPlc").__dict__['TestPlc'].__dict__