Skip to content

Commit c6b8476

Browse files
committed
test
1 parent 797810b commit c6b8476

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/devices/unit_tests/i03/test_undulator_dcm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from dodal.devices.i03.dcm import DCM
1111
from dodal.devices.i03.undulator_dcm import UndulatorDCM
1212
from dodal.devices.undulator import AccessError, Undulator
13-
from dodal.devices.util.test_utils import patch_motor
13+
from dodal.devices.util.test_utils import patch_all_motor
1414
from dodal.log import LOGGER
1515
from tests.devices.unit_tests.test_daq_configuration import MOCK_DAQ_CONFIG_PATH
1616
from tests.devices.unit_tests.test_daq_configuration.lookup import (
@@ -44,13 +44,13 @@ async def fake_undulator_dcm(RE) -> UndulatorDCM:
4444
length=2.0,
4545
)
4646
dcm = DCM("DCM-01", name="dcm")
47-
patch_motor(dcm.offset_in_mm)
4847
undulator_dcm = UndulatorDCM(
4948
undulator,
5049
dcm,
5150
daq_configuration_path=MOCK_DAQ_CONFIG_PATH,
5251
name="undulator_dcm",
5352
)
53+
patch_all_motor(dcm)
5454
return undulator_dcm
5555

5656

0 commit comments

Comments
 (0)