mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-12 11:12:17 -04:00
make test no dependent from mat2 cleaning performance ;)
This commit is contained in:
parent
79f9056be8
commit
bcca327274
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ class Mat2APITestCase(unittest.TestCase):
|
||||||
|
|
||||||
request = self.app.head(response['download_link'])
|
request = self.app.head(response['download_link'])
|
||||||
self.assertEqual(request.status_code, 200)
|
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'])
|
request = self.app.get(response['download_link'])
|
||||||
self.assertIn('attachment; filename=files.', request.headers['Content-Disposition'])
|
self.assertIn('attachment; filename=files.', request.headers['Content-Disposition'])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue