mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-02-23 16:49:59 -05:00
additional error handling
This commit is contained in:
parent
b7cd80d155
commit
d75515179f
@ -91,7 +91,7 @@ class Mat2WebTestCase(TestCase):
|
||||
data=dict(
|
||||
file=(io.BytesIO(zip_file_bytes), 'test.zip'),
|
||||
), 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)
|
||||
|
||||
def test_get_upload_no_file_name(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user