Skip to content

Commit

Permalink
Skip progress indicator test when viewer is not shown (napari#3065)
Browse files Browse the repository at this point in the history
  • Loading branch information
DragaDoncila authored Jul 19, 2021
1 parent c410efe commit e136408
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions napari/_qt/_tests/test_progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ def test_progress_update(make_napari_viewer):
pbr.close()


@pytest.mark.skipif(
not SHOW,
reason='viewer needs to be shown to test indicator',
)
def test_progress_indicator(make_napari_viewer):
viewer = make_napari_viewer(show=SHOW)
activity_dialog = viewer.window.qt_viewer.window()._activity_dialog
Expand Down

0 comments on commit e136408

Please sign in to comment.