diff --git a/script/testcommons.py b/script/testcommons.py index 1620082..c7eb006 100644 --- a/script/testcommons.py +++ b/script/testcommons.py @@ -1,5 +1,5 @@ -global print_log, sendFeedback, sys, inspect, os, traceback, time -import sys, inspect, os, traceback, time +global print_log, sendFeedback, sys, inspect, os, traceback +import sys, inspect, os, traceback def print_log(testName, DEVICE, text): import time diff --git a/script/tests/tests/PS Tests/power-supply-A/power-supply-A.py b/script/tests/tests/PS Tests/power-supply-A/power-supply-A.py index 3bb1fcc..447f8ef 100644 --- a/script/tests/tests/PS Tests/power-supply-A/power-supply-A.py +++ b/script/tests/tests/PS Tests/power-supply-A/power-supply-A.py @@ -9,6 +9,7 @@ def print_log(testName, DEVICE, text): def startTest(testName, DEVICE, params): #get the path of this script + testcommons.print_pio() import inspect testPath = inspect.getfile(inspect.currentframe()) #by default, failed @@ -26,7 +27,6 @@ def startTest(testName, DEVICE, params): scan = ManualScan(['time'], ['SetV', 'ActualV', 'ActualI']) scan.setPlotName(plotName) scan.start() - testcommons.print_pio() try: #Creating channels: dimension 1 #Ramp rate