Skip to content

Commit

Permalink
use make_napari_viewer_proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
niksirbi committed Mar 25, 2024
1 parent 42d00cd commit cfc230c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_unit/test_napari_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@


@pytest.fixture
def meta_widget(make_napari_viewer) -> MovementMetaWidget:
def meta_widget(make_napari_viewer_proxy) -> MovementMetaWidget:
"""Fixture to expose the MovementMetaWidget for testing.
Simultaneously acts as a smoke test that the widget
can be instantiated without crashing."""
viewer = make_napari_viewer()
viewer = make_napari_viewer_proxy()
return MovementMetaWidget(viewer)


Expand Down

0 comments on commit cfc230c

Please sign in to comment.