mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #25780 -- Removed redundant status code assertions from tests
This commit is contained in:
committed by
Claude Paroz
parent
68554d1676
commit
13dba4dba3
@@ -247,7 +247,6 @@ class TemplateViewTest(SimpleTestCase):
|
||||
|
||||
def _assert_about(self, response):
|
||||
response.render()
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, '<h1>About</h1>')
|
||||
|
||||
def test_get(self):
|
||||
|
||||
Reference in New Issue
Block a user