summaryrefslogtreecommitdiff
path: root/tests/sessions_tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2022-05-01 21:44:04 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-05-02 06:21:18 +0200
commit694cf458f16b8d340a3195244196980b2dec34fd (patch)
treeae7d451039d57611fc1269a6167d55fe1f4d49be /tests/sessions_tests
parent1b3a949ba26ca8fefde7fa224e11c4aadbbdd724 (diff)
downloaddjango-694cf458f16b8d340a3195244196980b2dec34fd.tar.gz
Removed 'tests' path prefix in a couple tests.
Diffstat (limited to 'tests/sessions_tests')
-rw-r--r--tests/sessions_tests/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sessions_tests/tests.py b/tests/sessions_tests/tests.py
index cac0e9bdc6..96f8dbcd5b 100644
--- a/tests/sessions_tests/tests.py
+++ b/tests/sessions_tests/tests.py
@@ -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")