mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
parent
4bb70cbcc6
commit
321e94fa41
185 changed files with 1216 additions and 1528 deletions
|
@ -29,7 +29,7 @@ class SwappableModelTests(TestCase):
|
|||
new_io = StringIO()
|
||||
management.call_command('migrate', interactive=False, stdout=new_io)
|
||||
|
||||
# Check that content types and permissions exist for the swapped model,
|
||||
# Content types and permissions exist for the swapped model,
|
||||
# but not for the swappable model.
|
||||
apps_models = [(p.content_type.app_label, p.content_type.model)
|
||||
for p in Permission.objects.all()]
|
||||
|
@ -43,6 +43,6 @@ class SwappableModelTests(TestCase):
|
|||
|
||||
@override_settings(TEST_ARTICLE_MODEL='swappable_models.article')
|
||||
def test_case_insensitive(self):
|
||||
"Model names are case insensitive. Check that model swapping honors this."
|
||||
"Model names are case insensitive. Model swapping honors this."
|
||||
Article.objects.all()
|
||||
self.assertIsNone(Article._meta.swapped)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue