Closedown

This commit is contained in:
boccioli_m
2017-08-29 11:35:22 +02:00
parent 54f8be02ef
commit 4c26e8444e
3 changed files with 8 additions and 9 deletions

View File

@@ -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):

View File

@@ -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

View File

@@ -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')) ;