mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-26 09:56:17 -05:00
Splitting errors into their modules. Removing API_ERRORS dict in favor of storing error data on the class.
This commit is contained in:
parent
b3068885b2
commit
fdaaa510c4
33 changed files with 337 additions and 449 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['error']
|
||||
assert 'validate' in response.json['summary']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue