diff --git a/script/local.py b/script/local.py index 9c4c261..bc2783e 100644 --- a/script/local.py +++ b/script/local.py @@ -94,14 +94,12 @@ class TestingTool: """ columnsFormat = '{0:10} {1:10} {2}' self.log(columnsFormat.format("Parameter", "Value", "Description")) - for param in self.testParams: - self.log(columnsFormat.format(param, - param, - param)) + for key in self.testParams.keys(): + self.log(columnsFormat.format(key, + self.testParams[key]['value'], + self.testParams[key]['description'])) + - self.log(columnsFormat.format(param, - param['value'], - param['description'])) def sendFeedback(self, returnString, testPassed): diff --git a/script/tests/tests.properties b/script/tests/tests.properties index a482675..3864780 100644 --- a/script/tests/tests.properties +++ b/script/tests/tests.properties @@ -1,5 +1,5 @@ #TestingList for pshell: configuration properties -#Tue Aug 29 11:28:23 CEST 2017 +#Tue Aug 29 11:34:22 CEST 2017 customPanel= showEnabledTestsOnly=true listFilter=test-bx84 diff --git a/script/tests/tests/sad/rightleft/rightleft.py b/script/tests/tests/sad/rightleft/rightleft.py index 303ed06..a8cc349 100644 --- a/script/tests/tests/sad/rightleft/rightleft.py +++ b/script/tests/tests/sad/rightleft/rightleft.py @@ -70,7 +70,8 @@ def startTest(testName, DEVICE, params): try: test.log("Running test with the following parameters:") test.log(params) - test.printParams() + for key in params.keys(): + test.log(key + params[key]['value']) # If present, use the parameters here below for your test script. # These parameters were automatically generated: you might need to change the casting. delay = float(test.getParam('delay')) ; centre = float(test.getParam('centre')) ; moveAround = float(test.getParam('moveAround')) ; steps = float(test.getParam('steps')) ;