summaryrefslogtreecommitdiff
path: root/tests/auth_tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-11-23 15:03:33 -0500
committerTim Graham <timograham@gmail.com>2016-11-23 15:14:28 -0500
commit93a081946d92da010c7de62dc58e697c6c33e5d3 (patch)
treeaea40aa97618634d9f2f5a405b1bd29de4510590 /tests/auth_tests
parentd02a03d574b6623ce0d648dd676ae278d46375fb (diff)
Normalized casing of "custom user model".
Diffstat (limited to 'tests/auth_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.