Skip to content

Commit 059c9e7

Browse files
committed
test(validator): expect return code 16 for corrupted dataset case
1 parent 108484a commit 059c9e7

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
@@ -1159,7 +1159,7 @@ def test_validator(tmp_path):
11591159
ret = run_validator(call)
11601160

11611161
assert (
1162-
ret.returncode == 1
1162+
ret.returncode == 16
11631163
), (
11641164
"Validator was expected to fail after corrupting files, "
11651165
f"but returned code {ret.returncode}.\n"

0 commit comments

Comments
 (0)