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:
@@ -34,7 +34,8 @@ def do_create_(jsfile, success):
|
||||
except (AssertionError, ValidationError, KeyError) as ex:
|
||||
if success:
|
||||
raise
|
||||
|
||||
return
|
||||
assert success
|
||||
return do_expected
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user