replaced staging in tests by direct controller.on calls

This commit is contained in:
2022-09-08 21:54:34 +02:00
parent 80e101a5ef
commit fbdccf4dd7
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ def test_axis_get(pos, msg, sign):
socket_cls=SocketMock,
)
leyey.controller.sock.flush_buffer()
leyey.stage()
leyey.controller.on()
leyey.controller.sock.buffer_recv = msg
val = leyey.read()
assert val["leyey"]["value"] == pos