summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJan Friedli2020-05-14 19:39:41 +0200
committerJan Friedli2020-05-14 19:39:41 +0200
commitbcca327274318c03f7ef50c5c3bb6bddbba9663c (patch)
tree5ed60a168da3f25febe6f74deb178b1ef12541b3 /test
parent79f9056be8656ce14ab2d85b3056561c79d55d53 (diff)
make test no dependent from mat2 cleaning performance ;)
Diffstat (limited to 'test')
-rw-r--r--test/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_api.py b/test/test_api.py
index af736af..63955d0 100644
--- a/test/test_api.py
+++ b/test/test_api.py
@@ -242,7 +242,7 @@ class Mat2APITestCase(unittest.TestCase):
242 242
243 request = self.app.head(response['download_link']) 243 request = self.app.head(response['download_link'])
244 self.assertEqual(request.status_code, 200) 244 self.assertEqual(request.status_code, 200)
245 self.assertEqual(request.headers['Content-Length'], '1596') 245 self.assertTrue(request.headers['Content-Length'])
246 246
247 request = self.app.get(response['download_link']) 247 request = self.app.get(response['download_link'])
248 self.assertIn('attachment; filename=files.', request.headers['Content-Disposition']) 248 self.assertIn('attachment; filename=files.', request.headers['Content-Disposition'])