From: Thierry Parmentelat Date: Thu, 14 Feb 2008 17:23:08 +0000 (+0000) Subject: expose buildname to the various objects through the TestPlc instance X-Git-Tag: tests-4.2-4~240 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=afcb72f37249a70fd164536942c94c20cfff59f9;p=tests.git expose buildname to the various objects through the TestPlc instance --- diff --git a/system/TestMain.py b/system/TestMain.py index 8599695..d73cae3 100755 --- a/system/TestMain.py +++ b/system/TestMain.py @@ -176,6 +176,9 @@ steps refer to a method in TestPlc or to a step_* module for spec in all_plc_specs: 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 overall_result = True testplc_method_dict = __import__("TestPlc").__dict__['TestPlc'].__dict__