summaryrefslogtreecommitdiff
path: root/django/test
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-19 19:32:01 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-19 19:32:01 +0000
commitb653cdcfb2558f8b3023711bd90f97192d6406fd (patch)
treeb784b2ac47738a1320654e95b86f793bd4876275 /django/test
parente8dd3855c1d10154dd147f0b4585185609f61153 (diff)
First part of setting request.path correctly.
Still needs: - testing - docs changes - some way of fixing reverse(). git-svn-id: http://code.djangoproject.com/svn/django/trunk@7991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/test')
-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 47c12a4ca1..7d621449ea 100644
--- a/django/test/client.py
+++ b/django/test/client.py
@@ -190,7 +190,7 @@ class Client:
'PATH_INFO': '/',
'QUERY_STRING': '',
'REQUEST_METHOD': 'GET',
- 'SCRIPT_NAME': None,
+ 'SCRIPT_NAME': '',
'SERVER_NAME': 'testserver',
'SERVER_PORT': 80,
'SERVER_PROTOCOL': 'HTTP/1.1',