mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #25780 -- Removed redundant status code assertions from tests
This commit is contained in:
committed by
Claude Paroz
parent
68554d1676
commit
13dba4dba3
@@ -492,7 +492,6 @@ class TestInlineProtectedOnDelete(TestDataMixin, TestCase):
|
||||
'chapter_set-0-DELETE': 'on'
|
||||
}
|
||||
response = self.client.post(change_url, data)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Deleting chapter %s would require deleting "
|
||||
"the following protected related objects: foot note %s"
|
||||
% (chapter, foot_note))
|
||||
|
||||
Reference in New Issue
Block a user