1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-08-23 18:12:20 +00:00

Fixed test for failed validation

Note that the schema currently supports both string and object analysis in the
"analysis" field of a result.
This commit is contained in:
J. Fernando Sánchez
2017-08-19 21:55:48 +02:00
parent 312e7f7f12
commit b6f00385ab
6 changed files with 85 additions and 9 deletions

View File

@@ -34,7 +34,8 @@ def do_create_(jsfile, success):
except (AssertionError, ValidationError, KeyError) as ex:
if success:
raise
return
assert success
return do_expected