mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-02-24 00:59:59 -05:00
make test no dependent from mat2 cleaning performance ;)
This commit is contained in:
parent
79f9056be8
commit
bcca327274
@ -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'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user