summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/test/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/client.py b/django/test/client.py
index 63ad1c1d3a..a44887b715 100644
--- a/django/test/client.py
+++ b/django/test/client.py
@@ -198,7 +198,7 @@ class Client(object):
using the arguments to the request.
"""
environ = {
- 'HTTP_COOKIE': self.cookies,
+ 'HTTP_COOKIE': self.cookies.output(header='', sep='; '),
'PATH_INFO': '/',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',