Closedown
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user