refs #87 Quotes around ascii filename, not utf-8

Updated the test to go with my change.
This commit is contained in:
CJ 2014-06-06 10:37:54 -04:00
parent 77166d2969
commit 616c822b6c

View file

@ -15,5 +15,5 @@ class DownloadResponseTestCase(unittest.TestCase):
headers = response.default_headers
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'])