Closed ioannistsanaktsidis closed 7 years ago
Looks good, but can you add a small test.
I think you can add the test in test_views_list_post.py. To trigger a schema validation error I think you can simply dump a simple schema directly in $schema
instead of having to reference a URL.
record = {
'title': 1,
'$schema': {
'properties': {
'title': {'type': 'string'}
}
}
}
Regarding build errors see inveniosoftware/troubleshooting#9
Signed-off-by: Ioannis Tsanaktsidis ioannis.tsanaktsidis@cern.ch