Loading django/contrib/sessions/tests.py +3 −2 Original line number Diff line number Diff line Loading @@ -513,7 +513,7 @@ class CacheSessionTests(SessionTestsMixin, unittest.TestCase): self.assertNotEqual(caches['sessions'].get(self.session.cache_key), None) class SessionMiddlewareTests(unittest.TestCase): class SessionMiddlewareTests(TestCase): @override_settings(SESSION_COOKIE_SECURE=True) def test_secure_session_cookie(self): Loading Loading @@ -605,7 +605,8 @@ class SessionMiddlewareTests(unittest.TestCase): ) class CookieSessionTests(SessionTestsMixin, TestCase): # Don't need DB flushing for these tests, so can use unittest.TestCase as base class class CookieSessionTests(SessionTestsMixin, unittest.TestCase): backend = CookieSession Loading Loading
django/contrib/sessions/tests.py +3 −2 Original line number Diff line number Diff line Loading @@ -513,7 +513,7 @@ class CacheSessionTests(SessionTestsMixin, unittest.TestCase): self.assertNotEqual(caches['sessions'].get(self.session.cache_key), None) class SessionMiddlewareTests(unittest.TestCase): class SessionMiddlewareTests(TestCase): @override_settings(SESSION_COOKIE_SECURE=True) def test_secure_session_cookie(self): Loading Loading @@ -605,7 +605,8 @@ class SessionMiddlewareTests(unittest.TestCase): ) class CookieSessionTests(SessionTestsMixin, TestCase): # Don't need DB flushing for these tests, so can use unittest.TestCase as base class class CookieSessionTests(SessionTestsMixin, unittest.TestCase): backend = CookieSession Loading