From 0c381326f8d30250c2d1f7a88479d77050534526 Mon Sep 17 00:00:00 2001 From: Igor Tatarnikov <61896994+IgorTatarnikov@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:03:58 +0100 Subject: [PATCH] Mark failing napari tests as xfail (#213) * 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 * Update tests/test_brainreg_napari.py Co-authored-by: Alessandro Felder * [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 --- tests/test_brainreg_napari.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_brainreg_napari.py b/tests/test_brainreg_napari.py index c03068e..e13969f 100644 --- a/tests/test_brainreg_napari.py +++ b/tests/test_brainreg_napari.py @@ -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" ): @@ -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