mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-19 22:46:20 -05:00
Converting APIError to use SanicException as base.
This commit is contained in:
parent
58de8c7c5b
commit
9ee73af61d
19 changed files with 181 additions and 161 deletions
|
|
@ -135,4 +135,4 @@ def test_empty_import(test_client, test_session, test_directory):
|
|||
body = {'files': []}
|
||||
request, response = test_client.post('/api/map/import', content=json.dumps(body))
|
||||
assert response.status_code == HTTPStatus.BAD_REQUEST
|
||||
assert 'validate' in response.json['summary']
|
||||
assert 'validate' in response.json['message']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue