mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
refs #87 assert_basename test failing
Added quotes to assert_basename test.
This commit is contained in:
parent
616c822b6c
commit
d7073be658
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ class DownloadResponseValidator(object):
|
|||
if "filename=" in response['Content-Disposition']:
|
||||
check_ascii = True
|
||||
if check_ascii:
|
||||
test_case.assertIn('filename={name}'.format(
|
||||
test_case.assertIn('filename="{name}"'.format(
|
||||
name=ascii_name),
|
||||
response['Content-Disposition'])
|
||||
if check_utf8:
|
||||
|
|
|
|||
Loading…
Reference in a new issue