diff --git a/script/local.py b/script/local.py index c29b096..7c33d06 100644 --- a/script/local.py +++ b/script/local.py @@ -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 diff --git a/script/tests/tests.properties b/script/tests/tests.properties index be97ac7..629be68 100644 --- a/script/tests/tests.properties +++ b/script/tests/tests.properties @@ -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 diff --git a/script/tests/tests/RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py b/script/tests/tests/RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py index f69ab22..7c3daf1 100644 --- a/script/tests/tests/RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py +++ b/script/tests/tests/RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py @@ -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: