1
0
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:
Tim Graham
2022-05-01 21:44:04 -04:00
committed by Mariusz Felisiak
parent 1b3a949ba2
commit 694cf458f1
3 changed files with 5 additions and 5 deletions

View File

@@ -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")