Skip to content

Commit

Permalink
Move more devices to device_factory. Add duration stats to pytest output
Browse files Browse the repository at this point in the history
  • Loading branch information
rtuck99 committed Jan 7, 2025
1 parent 166465c commit bee62df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ markers = [
"skip_in_pycharm: marks test as not working in pycharm testrunner",
]
addopts = """
--tb=native -vv --doctest-modules --doctest-glob="*.rst"
--tb=native -vv --doctest-modules --doctest-glob="*.rst" --durations=10
"""
# https://iscinumpy.gitlab.io/post/bound-version-constraints/#watch-for-warnings
filterwarnings = [
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def vfm(RE):

@pytest.fixture
def lower_gonio(RE):
lower_gonio = i03.lower_gonio(fake_with_ophyd_sim=True)
lower_gonio = i03.lower_gonio(connect_immediately=True, mock=True)
with (
patch_motor(lower_gonio.x),
patch_motor(lower_gonio.y),
Expand Down

0 comments on commit bee62df

Please sign in to comment.