mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
Tests updated for double quotes around filename
This commit is contained in:
parent
7b2d8215e6
commit
1407c0cc4e
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ class DownloadResponseTestCase(unittest.TestCase):
|
|||
attachment=True,
|
||||
basename=u'espacé .txt',)
|
||||
headers = response.default_headers
|
||||
self.assertIn("filename=espace_.txt",
|
||||
self.assertIn("filename=\"espace_.txt\"",
|
||||
headers['Content-Disposition'])
|
||||
self.assertIn("filename*=UTF-8''espac%C3%A9%20.txt",
|
||||
self.assertIn("filename*=UTF-8''\"espac%C3%A9%20.txt\"",
|
||||
headers['Content-Disposition'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue