diff --git a/tests/tests_devices/test_rt_flomni.py b/tests/tests_devices/test_rt_flomni.py index f0c61d7..6151005 100644 --- a/tests/tests_devices/test_rt_flomni.py +++ b/tests/tests_devices/test_rt_flomni.py @@ -9,6 +9,7 @@ from csaxs_bec.devices.rt.rt_ophyd import RtError @pytest.fixture() def rt_flomni(): + RtFlomniController._reset_controller() rt_flomni = RtFlomniController( name="rt_flomni", socket_cls=SocketMock, socket_host="localhost", socket_port=8081 ) @@ -30,6 +31,7 @@ def rt_flomni(): rt_flomni.set_axis(axis=rty, axis_nr=1) rt_flomni.set_axis(axis=rtz, axis_nr=2) yield rt_flomni + RtFlomniController._reset_controller() def test_rt_flomni_move_to_zero(rt_flomni):