1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #25780 -- Removed redundant status code assertions from tests.

This commit is contained in:
Jon Dufresne
2020-09-06 08:44:34 -07:00
committed by Mariusz Felisiak
parent 982e860b73
commit cee93c6ba1
5 changed files with 11 additions and 32 deletions

View File

@@ -122,7 +122,6 @@ class DebugViewTests(SimpleTestCase):
def test_404(self):
response = self.client.get('/raises404/')
self.assertEqual(response.status_code, 404)
self.assertContains(
response,
'<p>The current path, <code>not-in-urls</code>, didnt match any '