From 93a081946d92da010c7de62dc58e697c6c33e5d3 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 23 Nov 2016 15:03:33 -0500 Subject: Normalized casing of "custom user model". --- tests/auth_tests/models/custom_user.py | 2 +- tests/auth_tests/test_management.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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. -- cgit v1.3