This commit is contained in:
@@ -15,8 +15,8 @@ def test_motor_instantiation_fast_vs_epics():
|
||||
slow_times = []
|
||||
|
||||
# Mock to simulate a real EPICS moteur
|
||||
with patch('epics.Motor.get') as mock_get, \
|
||||
patch('epics.Motor.RTYP', new_callable=PropertyMock) as mock_rtyp:
|
||||
with patch('epics.Motor.get') as mock_get:
|
||||
mock_get.return_value = 'motor'
|
||||
|
||||
# Mean of 10 runs
|
||||
for _ in range(10):
|
||||
|
||||
Reference in New Issue
Block a user