mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-13 11:42:25 -04:00
additional error handling
This commit is contained in:
parent
b7cd80d155
commit
d75515179f
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class Mat2WebTestCase(TestCase):
|
||||||
data=dict(
|
data=dict(
|
||||||
file=(io.BytesIO(zip_file_bytes), 'test.zip'),
|
file=(io.BytesIO(zip_file_bytes), 'test.zip'),
|
||||||
), follow_redirects=True)
|
), follow_redirects=True)
|
||||||
self.assertIn(b'Unable to clean',rv.data)
|
self.assertIn(b'Unable to clean', rv.data)
|
||||||
self.assertEqual(rv.status_code, 200)
|
self.assertEqual(rv.status_code, 200)
|
||||||
|
|
||||||
def test_get_upload_no_file_name(self):
|
def test_get_upload_no_file_name(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue