Fixed #25780 -- Removed redundant status code assertions from tests

This commit is contained in:
Alex Morozov 2015-11-21 17:00:11 +03:00 committed by Claude Paroz
parent 68554d1676
commit 13dba4dba3
11 changed files with 0 additions and 53 deletions

View file

@ -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))