summaryrefslogtreecommitdiff
path: root/tests/auth_tests
diff options
context:
space:
mode:
authorДилян Палаузов <dilyanpalauzov@users.noreply.github.com>2017-11-06 22:11:39 -0500
committerTim Graham <timograham@gmail.com>2017-11-06 22:41:03 -0500
commit6c0042430e3618ce5c276d195d92a6b884daa3a3 (patch)
treecc272a4d835f9ff18f25f79335d0d3190850feef /tests/auth_tests
parent5587485d49af8b32ab660854f751a234baa6610b (diff)
Fixed #28776 -- Fixed a/an/and typos in docs and comments.
Diffstat (limited to 'tests/auth_tests')
-rw-r--r--tests/auth_tests/test_checks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth_tests/test_checks.py b/tests/auth_tests/test_checks.py
index 3f86e7a80e..8c3e323efa 100644
--- a/tests/auth_tests/test_checks.py
+++ b/tests/auth_tests/test_checks.py
@@ -57,8 +57,8 @@ class UserModelChecksTests(SimpleTestCase):
@override_settings(AUTH_USER_MODEL='auth_tests.CustomUserNonUniqueUsername')
def test_username_non_unique(self):
"""
- A non-unique USERNAME_FIELD should raise an error only if we use the
- default authentication backend. Otherwise, an warning should be raised.
+ A non-unique USERNAME_FIELD raises an error only if the default
+ authentication backend is used. Otherwise, a warning is raised.
"""
errors = checks.run_checks()
self.assertEqual(errors, [