Closedown

This commit is contained in:
boccioli_m
2015-09-02 15:11:37 +02:00
parent 8b1161b4cb
commit 01a5e33dc4
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class TestingTool:
#paramName = the name of the parameter for which the value must be read
def getParam(self, paramName):
try:
return params[paramName]["value"]
return self.testParams[paramName]["value"]
except:
self.log('Could not retrieve testing parameter ' + paramName + ' - Details: ' + traceback.format_exc())
return None

View File

@@ -9,7 +9,7 @@ def startTest(testName, DEVICE, params):
#get the path of this script
testPath = inspect.getfile(inspect.currentframe())
#init the testing tool class
test = TestingTool(testName, testPath, DEVICE)
test = TestingTool(testName, testPath, DEVICE, params)
#by default, failed
ret = 'Test failed'
status = False