Closedown
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
# The code below is necessary to run the Testing List plug-in:
|
||||
global print_log, sendFeedback, sys, inspect, os, traceback
|
||||
import sys, inspect, os, traceback
|
||||
import pio
|
||||
|
||||
class TestingTool:
|
||||
"""
|
||||
@@ -20,9 +19,6 @@ class TestingTool:
|
||||
Init class with test data
|
||||
"""
|
||||
self.deviceName = deviceName
|
||||
self.log('arriva pio')
|
||||
p = pio()
|
||||
self.log('passato pio')
|
||||
self.testName = testName
|
||||
self.testPath = testPath
|
||||
self.testParams = testParams
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
###################################################################################################
|
||||
# Deployment specific global definitions - executed after startup.py
|
||||
###################################################################################################
|
||||
|
||||
#Uncomment this line to create the simulated devices needed to the tutorial scripts.
|
||||
#run("tutorial/devices")
|
||||
|
||||
|
||||
# The code below is necessary to run the Testing List plug-in:
|
||||
global print_log, sendFeedback, sys, inspect, os, traceback
|
||||
import sys, inspect, os, traceback
|
||||
|
||||
class pio:
|
||||
def __init__(self):
|
||||
self.log('ecco pio')
|
||||
|
||||
def log(self, text):
|
||||
print str(text)
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
global sys, inspect, os, traceback
|
||||
import sys, inspect, os, traceback
|
||||
|
||||
import pio
|
||||
|
||||
def startTest(testName, DEVICE, params):
|
||||
"""
|
||||
@@ -14,6 +15,9 @@ def startTest(testName, DEVICE, params):
|
||||
# by default, assume the test failed:
|
||||
ret = 'Test failed'
|
||||
status = False
|
||||
self.log('arriva pio')
|
||||
p = pio()
|
||||
self.log('passato pio')
|
||||
# put the whole custom code under try/catch.
|
||||
try:
|
||||
# get the path of this script:
|
||||
|
||||
Reference in New Issue
Block a user