Skip to content

Commit

Permalink
Add constraint for brainreg-segment in test (#327)
Browse files Browse the repository at this point in the history
It looks like brainreg-segment in version 0.2.19 switch to be npe2
plugin
  • Loading branch information
Czaki authored Nov 22, 2023
1 parent a5af6e8 commit c91f9d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ def test_fetch_npe1_manifest_dock_widget_as_attribute():
# napari_experimental_provide_dock_widget parser, (where the return value
# is a dotted attribute, rather than a direct name). I only saw it in
# brainreg-segment.
mf = fetch_manifest("brainreg-segment")
mf = fetch_manifest("brainreg-segment", version="0.2.18")
assert mf.name == "brainreg-segment"
assert mf.contributions.widgets
# Test will eventually fail when brainreg-segment is updated to npe2
# This is here as a sentinel
assert mf.npe1_shim is True

Expand Down

0 comments on commit c91f9d4

Please sign in to comment.