@@ -167,12 +167,12 @@ def assertNotInOutput(self, stream, msg):
167
167
##########################################################################
168
168
# DJANGO ADMIN TESTS
169
169
# This first series of test classes checks the environment processing
170
- # of the django-admin.py script
170
+ # of the django-admin.
171
171
##########################################################################
172
172
173
173
174
174
class DjangoAdminNoSettings (AdminScriptTestCase ):
175
- "A series of tests for django-admin.py when there is no settings.py file."
175
+ "A series of tests for django-admin when there is no settings.py file."
176
176
177
177
def test_builtin_command (self ):
178
178
"no settings: django-admin builtin commands fail with an error when no settings provided"
@@ -207,7 +207,8 @@ def test_commands_with_invalid_settings(self):
207
207
208
208
209
209
class DjangoAdminDefaultSettings (AdminScriptTestCase ):
210
- """A series of tests for django-admin.py when using a settings.py file that
210
+ """
211
+ A series of tests for django-admin when using a settings.py file that
211
212
contains the test application.
212
213
"""
213
214
def setUp (self ):
@@ -273,7 +274,8 @@ def test_custom_command_with_environment(self):
273
274
274
275
275
276
class DjangoAdminFullPathDefaultSettings (AdminScriptTestCase ):
276
- """A series of tests for django-admin.py when using a settings.py file that
277
+ """
278
+ A series of tests for django-admin when using a settings.py file that
277
279
contains the test application specified using a full path.
278
280
"""
279
281
def setUp (self ):
@@ -340,7 +342,8 @@ def test_custom_command_with_environment(self):
340
342
341
343
342
344
class DjangoAdminMinimalSettings (AdminScriptTestCase ):
343
- """A series of tests for django-admin.py when using a settings.py file that
345
+ """
346
+ A series of tests for django-admin when using a settings.py file that
344
347
doesn't contain the test application.
345
348
"""
346
349
def setUp (self ):
@@ -406,8 +409,9 @@ def test_custom_command_with_environment(self):
406
409
407
410
408
411
class DjangoAdminAlternateSettings (AdminScriptTestCase ):
409
- """A series of tests for django-admin.py when using a settings file
410
- with a name other than 'settings.py'.
412
+ """
413
+ A series of tests for django-admin when using a settings file with a name
414
+ other than 'settings.py'.
411
415
"""
412
416
def setUp (self ):
413
417
super ().setUp ()
@@ -472,7 +476,8 @@ def test_custom_command_with_environment(self):
472
476
473
477
474
478
class DjangoAdminMultipleSettings (AdminScriptTestCase ):
475
- """A series of tests for django-admin.py when multiple settings files
479
+ """
480
+ A series of tests for django-admin when multiple settings files
476
481
(including the default 'settings.py') are available. The default settings
477
482
file is insufficient for performing the operations described, so the
478
483
alternate settings must be used by the running script.
@@ -541,7 +546,7 @@ def test_custom_command_with_environment(self):
541
546
542
547
class DjangoAdminSettingsDirectory (AdminScriptTestCase ):
543
548
"""
544
- A series of tests for django-admin.py when the settings file is in a
549
+ A series of tests for django-admin when the settings file is in a
545
550
directory. (see #9751).
546
551
"""
547
552
0 commit comments