diff --git a/tests/admin_inlines/tests.py b/tests/admin_inlines/tests.py index e0d87ead44..c71bf1efed 100644 --- a/tests/admin_inlines/tests.py +++ b/tests/admin_inlines/tests.py @@ -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, '

Inner4 stackeds

', html=True) + self.assertContains(response, '

Inner4 tabulars

', html=True) + @override_settings(ROOT_URLCONF='admin_inlines.urls') class TestInlineMedia(TestDataMixin, TestCase):