diff options
| author | Tim Graham <timograham@gmail.com> | 2016-11-23 15:03:33 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-23 15:17:00 -0500 |
| commit | 63696982b8deb33fa4840dbe57ccbd3cf3dea9cb (patch) | |
| tree | c5a8f82c24dabe2af1129f24e42bcc4a5f1f03cc /tests | |
| parent | 9f89ca41dbf8a89031f1f29d7ed3ac4e1973018d (diff) | |
[1.10.x] Normalized casing of "custom user model".
Backport of 93a081946d92da010c7de62dc58e697c6c33e5d3 from master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/auth_tests/models/custom_user.py | 2 | ||||
| -rw-r--r-- | tests/auth_tests/test_management.py | 2 |
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 8eff655c99..823bb02a2a 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. |
