This commit is contained in:
1 parent
5bddbf40da
commit
f5fa0ee15e
1 file changed
+2
-2
@@ -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