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:
committed by
Mariusz Felisiak
parent
982e860b73
commit
cee93c6ba1
@@ -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>, didn’t match any '
|
||||
|
||||
Reference in New Issue
Block a user