mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-12 03:05:19 -04:00
handle not supported files in zips
This commit is contained in:
parent
493626e195
commit
f93a793469
3 changed files with 41 additions and 37 deletions
|
@ -135,6 +135,7 @@ class Mat2APITestCase(unittest.TestCase):
|
|||
headers={'content-type': 'application/json'}
|
||||
)
|
||||
error = request.get_json()['message']
|
||||
self.assertEqual(request.status_code, 400)
|
||||
self.assertEqual(error, 'Unable to clean application/zip')
|
||||
|
||||
def test_api_download(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue