rename dm to device_manager

This commit is contained in:
2025-12-05 15:54:29 +01:00
committed by Christian Appel
parent 80eaae6c7c
commit d4a1e1545c
2 changed files with 10 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ def test_controller_with_multiple_axes(dm_with_devices):
controller = Controller(
socket_cls=socket_cls, socket_host="dummy", socket_port=123, device_manager=dm_with_devices
)
with mock.patch.object(controller.dm, "config_helper") as mock_config_helper:
with mock.patch.object(controller.device_manager, "config_helper") as mock_config_helper:
# Disable samx, samy first
dm_with_devices.devices.get("samx").enabled = False
dm_with_devices.devices.get("samy").enabled = False