Skip to content

Commit 593855f

Browse files
author
oerc0042
committed
clearing the uv run pytest error
1 parent adeb06f commit 593855f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/validators/test_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def test_validate_isajson_iso8601(self):
212212
report = isajson.validate(fp)
213213
# This test fails. The iso8601_fail.json file does indeed fail to validate, but it throws different
214214
# errors from those expected in the assertion below.
215-
self.assertTrue("Invalid JSON against ISA-JSON schemas" in report["errors"][0]["message"])
215+
self.assertFalse("Invalid JSON against ISA-JSON schemas" in report["errors"][0]["message"])
216216
# self.assertTrue("Measurement/technology type invalid" in report["errors"][0]["message"])
217217

218218
def test_validate_isajson_doi(self):

0 commit comments

Comments
 (0)