summaryrefslogtreecommitdiff
path: root/tests/responses
diff options
context:
space:
mode:
authorJames Aylett <james@tartarus.org>2018-09-01 14:14:18 +0100
committerClaude Paroz <claude@2xlibre.net>2018-09-01 15:14:18 +0200
commitee52044a278885bd9455dd59b1e16c5d5e2d68ce (patch)
treeabc57cce2dfcc66fa81c205470c225aaed1b365f /tests/responses
parentcc79c7ee637e65c8da27e56d746c87903d5ec901 (diff)
downloaddjango-ee52044a278885bd9455dd59b1e16c5d5e2d68ce.tar.gz
Refs #16470 -- Fixed typo in a FileResponse test.
Diffstat (limited to 'tests/responses')
-rw-r--r--tests/responses/test_fileresponse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/responses/test_fileresponse.py b/tests/responses/test_fileresponse.py
index d6e6535b92..5896373d4d 100644
--- a/tests/responses/test_fileresponse.py
+++ b/tests/responses/test_fileresponse.py
@@ -34,7 +34,7 @@ class FileResponseTests(SimpleTestCase):
response = FileResponse(os.fdopen(pipe_for_read, mode='rb'))
self.assertEqual(list(response), [b'binary content'])
response.close()
- self.assertFalse(response.has_header('Ĉontent-Length'))
+ self.assertFalse(response.has_header('Content-Length'))
def test_file_from_disk_as_attachment(self):
response = FileResponse(open(__file__, 'rb'), as_attachment=True)