mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-12 03:05:19 -04:00
changed missing file part error message
This commit is contained in:
parent
4642c0079b
commit
8689aa3c31
2 changed files with 8 additions and 3 deletions
|
@ -486,7 +486,10 @@ class Mat2APITestCase(unittest.TestCase):
|
|||
),
|
||||
follow_redirects=False
|
||||
)
|
||||
self.assertEqual(r.get_json()['message'], 'No file part')
|
||||
self.assertEqual(
|
||||
r.get_json()['message'],
|
||||
'File part missing: Multipart filename and non-chunked-transfer-encoding required'
|
||||
)
|
||||
self.assertEqual(r.status_code, 400)
|
||||
|
||||
r = self.app.post(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue