X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FTestMain.py;h=576e8bb8f40c1de1748756f93485b301b6801767;hb=df8006feda3e410f0ce2757ceb5e41ed8c5d8d63;hp=04b5a283bace3888758236895e1642742a044d6a;hpb=19289924105600a78fc80ac0d6b96801c1f26756;p=tests.git diff --git a/system/TestMain.py b/system/TestMain.py index 04b5a28..576e8bb 100755 --- a/system/TestMain.py +++ b/system/TestMain.py @@ -36,6 +36,7 @@ class TestMain: def __init__ (self): self.path=os.path.dirname(sys.argv[0]) + os.chdir(self.path) @staticmethod def show_env (options, message): @@ -115,7 +116,7 @@ steps refer to a method in TestPlc or to a step_* module ('myplc_url','arg-myplc-url',"") , ) : # print 'handling',recname - path="%s/%s"%(self.path,filename) + path=filename is_list = isinstance(default,list) if not getattr(self.options,recname): try: