We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8789bdf commit 2aff627Copy full SHA for 2aff627
napari_cellseg3d/_tests/test_plugin_utils.py
@@ -0,0 +1,12 @@
1
+from napari_cellseg3d.code_plugins.plugin_utilities import Utilities
2
+from napari_cellseg3d.code_plugins.plugin_utilities import UTILITIES_WIDGETS
3
+
4
+def test_utils_plugin(make_napari_viewer):
5
+ view = make_napari_viewer()
6
+ widget = Utilities(view)
7
8
+ view.window.add_dock_widget(widget)
9
+ for i, utils_name in enumerate(UTILITIES_WIDGETS.keys()):
10
+ widget.utils_choice.setCurrentIndex(i)
11
+ assert isinstance(widget.utils_widgets[i], UTILITIES_WIDGETS[utils_name])
12
0 commit comments