diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-03-15 16:27:57 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-03-15 19:28:13 -0400 |
| commit | 87fad5a3925c39380f79643387cdc5adde1d8863 (patch) | |
| tree | 7df9bb4021ec73803e073f087388be92efc64533 /tests/auth_tests/test_views.py | |
| parent | 985e6c224be0681d7a753b9ded4646024d332bc7 (diff) | |
[2.2.x] Cleaned up exception message checking in some tests.
Backport of 95b7699ffc4bdb32a504fccfd127f1b76a8a1d1c from master.
Diffstat (limited to 'tests/auth_tests/test_views.py')
| -rw-r--r-- | tests/auth_tests/test_views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auth_tests/test_views.py b/tests/auth_tests/test_views.py index 4949ce1bf4..e7ad1cbcdf 100644 --- a/tests/auth_tests/test_views.py +++ b/tests/auth_tests/test_views.py @@ -855,7 +855,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): |
