summaryrefslogtreecommitdiff
path: root/test/test.py
diff options
context:
space:
mode:
authorJfriedli2021-03-23 21:20:54 +0100
committerJfriedli2021-03-23 21:20:54 +0100
commitc0d8d6c8eb74d839e520cd2e4429763208b478dd (patch)
tree2aa90ac6bb593a6a29ba357d3d840bcefcb644ad /test/test.py
parent501ecbf97e342c6d3a4c5d89131937f615cc98cf (diff)
catch newly thrown ValueErrors on get_file_parserv0.7.0
Diffstat (limited to '')
-rw-r--r--test/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py
index 3666457..d9d0fbf 100644
--- a/test/test.py
+++ b/test/test.py
@@ -63,7 +63,7 @@ class Mat2WebTestCase(TestCase):
63 data=dict( 63 data=dict(
64 file=(io.BytesIO(b""), 'test.pdf'), 64 file=(io.BytesIO(b""), 'test.pdf'),
65 ), follow_redirects=True) 65 ), follow_redirects=True)
66 self.assertIn(b'The type application/pdf is not supported', 66 self.assertIn(b'The filetype is not supported',
67 rv.data) 67 rv.data)
68 self.assertEqual(rv.status_code, 200) 68 self.assertEqual(rv.status_code, 200)
69 69