summary refs log tree commit diff
path: root/tests/rest/media/v1/test_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rest/media/v1/test_base.py')
-rw-r--r--tests/rest/media/v1/test_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/media/v1/test_base.py b/tests/rest/media/v1/test_base.py

index 00688a7325..aa6a5f880c 100644 --- a/tests/rest/media/v1/test_base.py +++ b/tests/rest/media/v1/test_base.py
@@ -24,14 +24,14 @@ class GetFileNameFromHeadersTests(unittest.TestCase): b"inline; filename=abc.txt": u"abc.txt", b'inline; filename="azerty"': u"azerty", b'inline; filename="aze%20rty"': u"aze%20rty", - b'inline; filename="aze\"rty"': u'aze"rty', + b'inline; filename="aze"rty"': u'aze"rty', b'inline; filename="azer;ty"': u"azer;ty", b"inline; filename*=utf-8''foo%C2%A3bar": u"foo£bar", } def tests(self): for hdr, expected in self.TEST_CASES.items(): - res = get_filename_from_headers({b'Content-Disposition': [hdr]}) + res = get_filename_from_headers({b"Content-Disposition": [hdr]}) self.assertEqual( res, expected,