mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed 'tests' path prefix in a couple tests.
This commit is contained in:
committed by
Mariusz Felisiak
parent
1b3a949ba2
commit
694cf458f1
@@ -915,9 +915,9 @@ class CookieSessionTests(SessionTestsMixin, SimpleTestCase):
|
||||
class ClearSessionsCommandTests(SimpleTestCase):
|
||||
def test_clearsessions_unsupported(self):
|
||||
msg = (
|
||||
"Session engine 'tests.sessions_tests.no_clear_expired' doesn't "
|
||||
"Session engine 'sessions_tests.no_clear_expired' doesn't "
|
||||
"support clearing expired sessions."
|
||||
)
|
||||
with self.settings(SESSION_ENGINE="tests.sessions_tests.no_clear_expired"):
|
||||
with self.settings(SESSION_ENGINE="sessions_tests.no_clear_expired"):
|
||||
with self.assertRaisesMessage(management.CommandError, msg):
|
||||
management.call_command("clearsessions")
|
||||
|
||||
Reference in New Issue
Block a user