diff options
Diffstat (limited to 'django/test')
| -rw-r--r-- | django/test/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/client.py b/django/test/client.py index d845fe76a7..043bf884a1 100644 --- a/django/test/client.py +++ b/django/test/client.py @@ -414,7 +414,7 @@ class Client(RequestFactory): """ if apps.is_installed('django.contrib.sessions'): engine = import_module(settings.SESSION_ENGINE) - cookie = self.cookies.get(settings.SESSION_COOKIE_NAME, None) + cookie = self.cookies.get(settings.SESSION_COOKIE_NAME) if cookie: return engine.SessionStore(cookie.value) else: |
