File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/devices/unit_tests/i03 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 10
10
from dodal .devices .i03 .dcm import DCM
11
11
from dodal .devices .i03 .undulator_dcm import UndulatorDCM
12
12
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
14
14
from dodal .log import LOGGER
15
15
from tests .devices .unit_tests .test_daq_configuration import MOCK_DAQ_CONFIG_PATH
16
16
from tests .devices .unit_tests .test_daq_configuration .lookup import (
@@ -44,13 +44,13 @@ async def fake_undulator_dcm(RE) -> UndulatorDCM:
44
44
length = 2.0 ,
45
45
)
46
46
dcm = DCM ("DCM-01" , name = "dcm" )
47
- patch_motor (dcm .offset_in_mm )
48
47
undulator_dcm = UndulatorDCM (
49
48
undulator ,
50
49
dcm ,
51
50
daq_configuration_path = MOCK_DAQ_CONFIG_PATH ,
52
51
name = "undulator_dcm" ,
53
52
)
53
+ patch_all_motor (dcm )
54
54
return undulator_dcm
55
55
56
56
You can’t perform that action at this time.
0 commit comments