Skip to content

Commit 561085d

Browse files
committed
TEST: Fix skip/fail marks on passing canary
1 parent 307f65a commit 561085d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

niworkflows/utils/tests/test_misc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def test_fs_license_check(stdout, rc, valid):
3434
assert check_valid_fs_license() is valid
3535

3636

37-
@pytest.mark.skipif(not os.getenv("FS_LICENSE"), reason="No FS license found")
37+
@pytest.mark.skipif(shutil.which('mri_convert') is None, reason="FreeSurfer not installed")
38+
@pytest.mark.xfail(not os.getenv("FS_LICENSE"), reason="No FS license found")
3839
def test_fs_license_check2():
3940
"""Execute the canary itself."""
4041
assert check_valid_fs_license() is True

0 commit comments

Comments
 (0)