Skip to content

Commit 955b877

Browse files
committed
fix pytests
1 parent 8e38d25 commit 955b877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cubids/tests/test_bond.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ def test_validator(tmp_path):
11601160
call = build_validator_call(str(data_root) + "/complete")
11611161
ret = run_validator(call)
11621162

1163-
assert ret.returncode == 1, (
1163+
assert ret.returncode == 16, (
11641164
"Validator was expected to fail after corrupting files, "
11651165
f"but returned code {ret.returncode}.\n"
11661166
"Corrupted files: removed JSON sidecar and modified NIfTI header.\n"

0 commit comments

Comments
 (0)