Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Commit f5928da

Browse files
authored
Fixing test_clearsessions_unsupported test (#863)
1 parent c97b542 commit f5928da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/sessions_tests/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -915,9 +915,9 @@ def test_session_save_does_not_resurrect_session_logged_out_in_other_context(sel
915915
class ClearSessionsCommandTests(SimpleTestCase):
916916
def test_clearsessions_unsupported(self):
917917
msg = (
918-
"Session engine 'tests.sessions_tests.no_clear_expired' doesn't "
918+
"Session engine 'sessions_tests.no_clear_expired' doesn't "
919919
"support clearing expired sessions."
920920
)
921-
with self.settings(SESSION_ENGINE='tests.sessions_tests.no_clear_expired'):
921+
with self.settings(SESSION_ENGINE='sessions_tests.no_clear_expired'):
922922
with self.assertRaisesMessage(management.CommandError, msg):
923923
management.call_command('clearsessions')

0 commit comments

Comments
 (0)