summaryrefslogtreecommitdiff
path: root/tests/admin_inlines
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-09-06 08:44:34 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-10-28 12:26:49 +0100
commitcee93c6ba1493d8578fb6285a4ba33034ee7ceb7 (patch)
tree5f0ca7e0cb1f0632976476758aebd93bb671b3f3 /tests/admin_inlines
parent982e860b736a4b1cc359e1fc90ce62d9b1ac7d0a (diff)
downloaddjango-cee93c6ba1493d8578fb6285a4ba33034ee7ceb7.tar.gz
Refs #25780 -- Removed redundant status code assertions from tests.
Diffstat (limited to 'tests/admin_inlines')
-rw-r--r--tests/admin_inlines/tests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/admin_inlines/tests.py b/tests/admin_inlines/tests.py
index 119dd56e61..e0d87ead44 100644
--- a/tests/admin_inlines/tests.py
+++ b/tests/admin_inlines/tests.py
@@ -154,7 +154,6 @@ class TestInline(TestDataMixin, TestCase):
# Identically named callable isn't present in the parent ModelAdmin,
# rendering of the add view shouldn't explode
response = self.client.get(reverse('admin:admin_inlines_novel_add'))
- self.assertEqual(response.status_code, 200)
# View should have the child inlines section
self.assertContains(
response,
@@ -164,7 +163,6 @@ class TestInline(TestDataMixin, TestCase):
def test_callable_lookup(self):
"""Admin inline should invoke local callable when its name is listed in readonly_fields"""
response = self.client.get(reverse('admin:admin_inlines_poll_add'))
- self.assertEqual(response.status_code, 200)
# Add parent object view should have the child inlines section
self.assertContains(
response,