mirror of
https://github.com/django/django.git
synced 2025-09-22 18:22:40 +00:00
Fixed #25780 -- Removed redundant status code assertions from tests
This commit is contained in:
parent
68554d1676
commit
13dba4dba3
11 changed files with 0 additions and 53 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue