Skip to content

Commit

Permalink
Mark failing napari tests as xfail (#213)
Browse files Browse the repository at this point in the history
* Mark failing napari tests as xfail

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update tests/test_brainreg_napari.py

Co-authored-by: Alessandro Felder <[email protected]>

* Update tests/test_brainreg_napari.py

Co-authored-by: Alessandro Felder <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alessandro Felder <[email protected]>
  • Loading branch information
3 people authored Aug 7, 2024
1 parent 406d693 commit 0c38132
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_brainreg_napari.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ def test_workflow(make_napari_viewer, tmp_path):
assert boundaries.name == "Boundaries"


@pytest.mark.xfail(
reason="See https://github.com/brainglobe/cellfinder/issues/443",
raises=AssertionError,
)
def test_orientation_check(
make_napari_viewer, tmp_path, atlas_choice="allen_mouse_50um"
):
Expand Down Expand Up @@ -167,6 +171,10 @@ def check_orientation_output(viewer, brain_layer, atlas):
assert viewer.layers[3].data.shape == (atlas.shape[0], atlas.shape[1])


@pytest.mark.xfail(
reason="See https://github.com/brainglobe/cellfinder/issues/443",
raises=AssertionError,
)
def test_add_layers_errors(tmp_path, make_napari_viewer):
"""
Check that an error is raised if registration metadata isn't present when
Expand Down

0 comments on commit 0c38132

Please sign in to comment.