summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auth_tests/models/custom_user.py2
-rw-r--r--tests/auth_tests/test_management.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth_tests/models/custom_user.py b/tests/auth_tests/models/custom_user.py
index 469cada31e..fac51064ba 100644
--- a/tests/auth_tests/models/custom_user.py
+++ b/tests/auth_tests/models/custom_user.py
@@ -6,7 +6,7 @@ from django.db import models
from django.utils.encoding import python_2_unicode_compatible
-# The custom User uses email as the unique identifier, and requires
+# The custom user uses email as the unique identifier, and requires
# that every user provide a date of birth. This lets us test
# changes in username datatype, and non-text required fields.
class CustomUserManager(BaseUserManager):
diff --git a/tests/auth_tests/test_management.py b/tests/auth_tests/test_management.py
index 5f772122f6..976b318c74 100644
--- a/tests/auth_tests/test_management.py
+++ b/tests/auth_tests/test_management.py
@@ -263,7 +263,7 @@ class CreatesuperuserManagementCommandTestCase(TestCase):
@override_settings(AUTH_USER_MODEL='auth_tests.CustomUser')
def test_swappable_user(self):
- "A superuser can be created when a custom User model is in use"
+ "A superuser can be created when a custom user model is in use"
# We can use the management command to create a superuser
# We skip validation because the temporary substitution of the
# swappable User model messes with validation.