Commit ff59761b authored by Antonia Beteva's avatar Antonia Beteva
Browse files

Added state command for the tests of a dummy tango shutter.

parent 997a56e8
......@@ -50,15 +50,21 @@ class Dummy(Device):
def open(self):
self._state = DevState.OPEN
def close(self):
self._state = DevState.CLOSE
def status(self):
return "Some Text " + str(self.get_state())
def state(self):
return self._state
if __name__ == "__main__":
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment