Closedown

This commit is contained in:
boccioli_m
2017-10-17 14:39:16 +02:00
parent 8f1fdce6e2
commit 52ae22a0fc
3 changed files with 11 additions and 1 deletions
+9
View File
@@ -14,6 +14,15 @@ class TestingTool:
"""
Common tools for running the test
"""
def __init__(self):
"""
Init class with test data
"""
self.deviceName = ''
self.testName = ''
self.testPath = ''
self.testParams = ''
def __init__(self, testName, testPath, deviceName, testParams):
"""
Init class with test data
+1 -1
View File
@@ -1,5 +1,5 @@
#TestingList for pshell: configuration properties
#Tue Oct 17 14:26:35 CEST 2017
#Tue Oct 17 14:27:52 CEST 2017
customPanel=
showEnabledTestsOnly=true
listFilter=rps-test
@@ -14,6 +14,7 @@ def startTest(testName, DEVICE, params):
# by default, assume the test failed:
ret = 'Test failed'
status = False
test = TestingTool()
# put the whole custom code under try/catch.
try:
# get the path of this script: