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