Closedown

This commit is contained in:
boccioli_m
2017-10-09 14:34:29 +02:00
parent 298dc454b2
commit c4f7af8a66
3 changed files with 4 additions and 24 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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: