From 20dc647ba82a03b0e8ce58c9040b69fe67e2d141 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 26 Jun 2011 19:22:53 +0000 Subject: [PATCH] Fixed a typo, and added an ``__future__`` import to the new signed cookie tets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16467 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/sessions/tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django/contrib/sessions/tests.py b/django/contrib/sessions/tests.py index 25562756b9..2a4d6c8766 100644 --- a/django/contrib/sessions/tests.py +++ b/django/contrib/sessions/tests.py @@ -1,3 +1,5 @@ +from __future__ import with_statement + from datetime import datetime, timedelta import shutil import tempfile @@ -7,7 +9,7 @@ from django.contrib.sessions.backends.db import SessionStore as DatabaseSession from django.contrib.sessions.backends.cache import SessionStore as CacheSession from django.contrib.sessions.backends.cached_db import SessionStore as CacheDBSession from django.contrib.sessions.backends.file import SessionStore as FileSession -from django.contrib.sessions.backends.cookies import SessionStore as CookieSession +from django.contrib.sessions.backends.signed_cookies import SessionStore as CookieSession from django.contrib.sessions.models import Session from django.contrib.sessions.middleware import SessionMiddleware from django.core.exceptions import ImproperlyConfigured, SuspiciousOperation