test: ensure to reset the controller instances
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user