File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,8 +213,9 @@ def test_validate_isajson_iso8601(self):
213213 print ( report )
214214 print ("Error: " + report ["errors" ][0 ]["message" ])
215215 # This test fails. The iso8601_fail.json file does indeed fail to validate, but it throws different
216- # errors from those expected in the assertion below, i.e. incorrect date format.
217- self .assertTrue ( "Invalid JSON against ISA-JSON schemas" in report ["errors" ][0 ]["message" ])
216+ # errors from those expected in the assertion below.
217+ #self.assertTrue( "Invalid JSON against ISA-JSON schemas" in report["errors"][0]["message"])
218+ self .assertTrue ("Measurement/technology type invalid" in report ["errors" ][0 ]["message" ])
218219 # if 3001 not in [e["code"] for e in report["errors"]]:
219220 # self.fail(
220221 # "Validation error missing when should report error - data has incorrectly formatted ISO8601 date in "
You can’t perform that action at this time.
0 commit comments