summaryrefslogtreecommitdiff
path: root/tests/generic_inline_admin/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generic_inline_admin/tests.py')
-rw-r--r--tests/generic_inline_admin/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/generic_inline_admin/tests.py b/tests/generic_inline_admin/tests.py
index 936a76398f..e1debb9d85 100644
--- a/tests/generic_inline_admin/tests.py
+++ b/tests/generic_inline_admin/tests.py
@@ -422,7 +422,7 @@ class GenericInlineModelAdminTest(SimpleTestCase):
def test_custom_form_meta_exclude_with_readonly(self):
"""
- Ensure that the custom ModelForm's `Meta.exclude` is respected when
+ The custom ModelForm's `Meta.exclude` is respected when
used in conjunction with `GenericInlineModelAdmin.readonly_fields`
and when no `ModelAdmin.exclude` is defined.
"""
@@ -449,7 +449,7 @@ class GenericInlineModelAdminTest(SimpleTestCase):
def test_custom_form_meta_exclude(self):
"""
- Ensure that the custom ModelForm's `Meta.exclude` is respected by
+ The custom ModelForm's `Meta.exclude` is respected by
`GenericInlineModelAdmin.get_formset`, and overridden if
`ModelAdmin.exclude` or `GenericInlineModelAdmin.exclude` are defined.
Refs #15907.
@@ -494,7 +494,7 @@ class GenericInlineModelAdminTest(SimpleTestCase):
['description', 'keywords', 'id', 'DELETE'])
def test_get_fieldsets(self):
- # Test that get_fieldsets is called when figuring out form fields.
+ # get_fieldsets is called when figuring out form fields.
# Refs #18681.
class MediaForm(ModelForm):
class Meta:
@@ -515,7 +515,7 @@ class GenericInlineModelAdminTest(SimpleTestCase):
def test_get_formsets_with_inlines_returns_tuples(self):
"""
- Ensure that get_formsets_with_inlines() returns the correct tuples.
+ get_formsets_with_inlines() returns the correct tuples.
"""
class MediaForm(ModelForm):
class Meta: