Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Add smoke test for curation widget (#102)
Browse files Browse the repository at this point in the history
* Add simple curation widget test

* Rename detection test file

* Fix import order

* Convert comment to docstring in test

Co-authored-by: Patrick Roddy <[email protected]>

Co-authored-by: Patrick Roddy <[email protected]>
  • Loading branch information
dstansby and paddyroddy authored Apr 11, 2022
1 parent 6dd663b commit 4a59add
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cellfinder_napari/tests/test_curation.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from cellfinder_napari import sample_data
from cellfinder_napari.curation import CurationWidget


def test_detect_function(make_napari_viewer):
"""
Smoke test that adding the curation widget to napari works
"""
viewer = make_napari_viewer()
widget = CurationWidget(viewer)
viewer.window.add_dock_widget(widget)

0 comments on commit 4a59add

Please sign in to comment.