diff --git a/script/tests/tests/PS Tests/test without ioc/test without ioc.py b/script/tests/tests/PS Tests/test without ioc/test without ioc.py index 0a02508..5dd79ca 100644 --- a/script/tests/tests/PS Tests/test without ioc/test without ioc.py +++ b/script/tests/tests/PS Tests/test without ioc/test without ioc.py @@ -2,10 +2,13 @@ #test that does not use any connection to IOC. It is useful to test pure pshell graphical features. - +# testing environment setup (if script is launched directly without Testinglist) is_panel = get_exec_pars().source != CommandSource.ui if not is_panel: # set up params for testing + testName = "dry test" + DEVICE = "no-device" + params = "{'howManySamples': {'description': 'How many samples are plotted', 'value': '50'}, 'delayBetweenSampleS': {'description': 'delay [s] between two samples', 'value': '0.05'}, 'repeatTimes': {'description': 'how many times the test is repeated', 'value': '3'}}" pass ###### Init - DO NOT MODIFY THE CODE BELOW ###### @@ -22,7 +25,7 @@ def startTest(testName, DEVICE, params): testPath = inspect.getfile(inspect.currentframe()) #init the testing tool class. It can be sued in the following ways: test = TestingTool(testName, testPath, DEVICE, params) - #plot name to be given to the scan. Use: scan.setPlotName(plotName) + #plot name to be given to the scan. Use: scan.setPlotTitle(plotName) plotName = test.getPlotName() ######### WRITE YOUR CODE HERE BELOW #############