make test no dependent from mat2 cleaning performance ;)

This commit is contained in:
Jan Friedli 2020-05-14 19:39:41 +02:00
parent 79f9056be8
commit bcca327274
No known key found for this signature in database
GPG Key ID: F945FA2FCA30549D

View File

@ -242,7 +242,7 @@ class Mat2APITestCase(unittest.TestCase):
request = self.app.head(response['download_link'])
self.assertEqual(request.status_code, 200)
self.assertEqual(request.headers['Content-Length'], '1596')
self.assertTrue(request.headers['Content-Length'])
request = self.app.get(response['download_link'])
self.assertIn('attachment; filename=files.', request.headers['Content-Disposition'])