mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
This commit is contained in:
@@ -112,7 +112,10 @@ class BasicTestCase(TestCase):
|
||||
|
||||
@override_settings(AUTH_USER_MODEL="badsetting")
|
||||
def test_swappable_user_bad_setting(self):
|
||||
"The alternate user setting must point to something in the format app.model"
|
||||
"""
|
||||
The alternate user setting must point to something in the format
|
||||
app.model
|
||||
"""
|
||||
msg = "AUTH_USER_MODEL must be of the form 'app_label.model_name'"
|
||||
with self.assertRaisesMessage(ImproperlyConfigured, msg):
|
||||
get_user_model()
|
||||
|
||||
Reference in New Issue
Block a user