Startup
This commit is contained in:
@@ -15,11 +15,11 @@ def startTest(testName, DEVICE, params):
|
||||
ret = 'Test failed'
|
||||
status = False
|
||||
# put the whole custom code under try/catch.
|
||||
# get the path of this script:
|
||||
testPath = inspect.getfile(inspect.currentframe())
|
||||
# init the testing tool class:
|
||||
test = TestingTool(testName, testPath, DEVICE, params)
|
||||
try:
|
||||
# get the path of this script:
|
||||
testPath = inspect.getfile(inspect.currentframe())
|
||||
# init the testing tool class:
|
||||
test = TestingTool(testName, testPath, DEVICE, params)
|
||||
|
||||
################ END OF Init #####################
|
||||
######### WRITE YOUR CODE HERE BELOW #############
|
||||
|
||||
Reference in New Issue
Block a user