Skip to content

Commit

Permalink
Ignore read-only property
Browse files Browse the repository at this point in the history
The run_engine is replaced with a mock.
  • Loading branch information
joeshannon committed Mar 15, 2024
1 parent 1e8eb00 commit 6b35b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def clean_event_loop():
@pytest.fixture
def handler(RE: RunEngine) -> Iterator[Handler]:
context: BlueskyContext = BlueskyContext(run_engine=MagicMock())
context.run_engine.state = RunEngineStateMachine.States.IDLE
context.run_engine.state = RunEngineStateMachine.States.IDLE # type: ignore
handler = Handler(context=context, messaging_template=MagicMock())

yield handler
Expand Down

0 comments on commit 6b35b4c

Please sign in to comment.