Skip to content

Commit

Permalink
Use RE in smargon so it has an event loop
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicOram committed Jul 22, 2024
1 parent 9c16e6a commit 85a5a8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/devices/unit_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from pathlib import Path

import pytest
from bluesky.run_engine import RunEngine
from ophyd_async.core import (
DirectoryInfo,
DirectoryProvider,
Expand Down Expand Up @@ -39,7 +40,7 @@ def static_directory_provider(tmp_path: Path) -> DirectoryProvider:


@pytest.fixture
def smargon():
def smargon(RE: RunEngine):
smargon = i03.smargon(fake_with_ophyd_sim=True)

def mock_set(motor, value, *args, **kwargs):
Expand Down

0 comments on commit 85a5a8d

Please sign in to comment.