Skip to content

Commit f211285

Browse files
committed
test(widget): Removes preset IDs tests
Removes tests for even and odd preset IDs as this functionality is no longer present.
1 parent f383f6f commit f211285

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/napari_label_manager/_tests/test_widget.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,6 @@ def test_preset_ids_setting(make_napari_viewer):
106106
widget.set_preset_ids("1-10")
107107
assert widget.label_ids_input.text() == "1-10"
108108

109-
# Test even IDs preset
110-
widget.set_preset_ids("even")
111-
expected_even = "2,4,6,8,10,12,14,16,18,20"
112-
assert widget.label_ids_input.text() == expected_even
113-
114-
# Test odd IDs preset
115-
widget.set_preset_ids("odd")
116-
expected_odd = "1,3,5,7,9,11,13,15,17,19"
117-
assert widget.label_ids_input.text() == expected_odd
118-
119109

120110
def test_hide_others_checkbox_functionality(make_napari_viewer):
121111
"""Test hide others checkbox functionality."""

0 commit comments

Comments
 (0)