mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Refs #18549 -- Added test for heading of foreign key inlines.
This commit is contained in:
parent
e58f79c535
commit
13409a0c0d
@ -480,6 +480,11 @@ class TestInline(TestDataMixin, TestCase):
|
||||
html=True
|
||||
)
|
||||
|
||||
def test_inlines_plural_heading_foreign_key(self):
|
||||
response = self.client.get(reverse('admin:admin_inlines_holder4_add'))
|
||||
self.assertContains(response, '<h2>Inner4 stackeds</h2>', html=True)
|
||||
self.assertContains(response, '<h2>Inner4 tabulars</h2>', html=True)
|
||||
|
||||
|
||||
@override_settings(ROOT_URLCONF='admin_inlines.urls')
|
||||
class TestInlineMedia(TestDataMixin, TestCase):
|
||||
|
Loading…
Reference in New Issue
Block a user