From 15197273bf91a1032f2a5b7e13da0339a0a0d86c Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 17 Oct 2017 14:47:47 +0200 Subject: [PATCH] Startup --- script/tests/tests.properties | 2 +- .../RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/script/tests/tests.properties b/script/tests/tests.properties index b2fdc28..8b9605d 100644 --- a/script/tests/tests.properties +++ b/script/tests/tests.properties @@ -1,5 +1,5 @@ #TestingList for pshell: configuration properties -#Tue Oct 17 14:46:39 CEST 2017 +#Tue Oct 17 14:47:33 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 b560491..47a32a6 100644 --- a/script/tests/tests/RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py +++ b/script/tests/tests/RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py @@ -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 #############