From 9dedd90b8fb0adfec0104a423277189ca1edf37e Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Tue, 21 Jan 2020 16:32:04 +0100 Subject: [PATCH] Script execution --- script/test/TestFinal.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 script/test/TestFinal.py diff --git a/script/test/TestFinal.py b/script/test/TestFinal.py new file mode 100644 index 0000000..c3b53cf --- /dev/null +++ b/script/test/TestFinal.py @@ -0,0 +1,9 @@ +class TestDev(DeviceBase): + def doSomething(self): + self.setCache("VALUE", -1) + + +dev = TestDev("Test") +dev.initialize() +dev.doSomething() +print dev.take() \ No newline at end of file