summaryrefslogtreecommitdiff
path: root/tests/auth_tests
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-03-15 16:27:57 -0700
committerTim Graham <timograham@gmail.com>2019-03-15 19:27:57 -0400
commit95b7699ffc4bdb32a504fccfd127f1b76a8a1d1c (patch)
tree436ce672484e93cae672f96d8f91d88ed4e02912 /tests/auth_tests
parent58ad030d05fa50cfed327368ab61defca3303e02 (diff)
Cleaned up exception message checking in some tests.
Diffstat (limited to 'tests/auth_tests')
-rw-r--r--tests/auth_tests/test_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auth_tests/test_views.py b/tests/auth_tests/test_views.py
index f738a73e64..99de78e44d 100644
--- a/tests/auth_tests/test_views.py
+++ b/tests/auth_tests/test_views.py
@@ -854,7 +854,7 @@ class LoginRedirectAuthenticatedUser(AuthViewsTestCase):
self.login()
msg = (
"Redirection loop for authenticated user detected. Check that "
- "your LOGIN_REDIRECT_URL doesn't point to a login page"
+ "your LOGIN_REDIRECT_URL doesn't point to a login page."
)
with self.settings(LOGIN_REDIRECT_URL=self.do_redirect_url):
with self.assertRaisesMessage(ValueError, msg):