Skip to content

Commit

Permalink
added observe_signals for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ZohebShaikh committed Sep 17, 2024
1 parent 6e86354 commit 3751b80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/epics/test_motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
SignalRW,
callback_on_mock_put,
mock_puts_blocked,
observe_value,
set_mock_put_proceeds,
set_mock_value,
)
from ophyd_async.core._signal import observe_signals_values
from ophyd_async.epics import motor

# Long enough for multiple asyncio event loop cycles to run so
Expand Down Expand Up @@ -282,7 +282,7 @@ async def test_prepare(
fake_set_signal = SignalRW(MockSignalBackend(float))

async def wait_for_set(_):
async for value in observe_value(fake_set_signal, timeout=1):
async for value in observe_signals_values(fake_set_signal, timeout=1):
if value == target_position:
break

Expand Down

0 comments on commit 3751b80

Please sign in to comment.