summaryrefslogtreecommitdiff
path: root/tests/test_client
diff options
context:
space:
mode:
authorAlex Morozov <inductor2000@mail.ru>2015-11-21 17:00:11 +0300
committerClaude Paroz <claude@2xlibre.net>2015-11-21 18:12:33 +0100
commit13dba4dba3ad52a8accee6778fb029fe81565d40 (patch)
tree4e6b45363b904a153604fe5a4c97d752ee04f873 /tests/test_client
parent68554d16761d1e3bb618686b6d66437c59940b47 (diff)
Fixed #25780 -- Removed redundant status code assertions from tests
Diffstat (limited to 'tests/test_client')
-rw-r--r--tests/test_client/tests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_client/tests.py b/tests/test_client/tests.py
index 4b48332085..cd3b6d77f9 100644
--- a/tests/test_client/tests.py
+++ b/tests/test_client/tests.py
@@ -729,7 +729,6 @@ class RequestFactoryTest(SimpleTestCase):
request = self.request_factory.get('/somewhere/')
response = get_view(request)
- self.assertEqual(response.status_code, 200)
self.assertContains(response, 'This is a test')
def test_trace_request_from_factory(self):
@@ -740,5 +739,4 @@ class RequestFactoryTest(SimpleTestCase):
protocol = request.META["SERVER_PROTOCOL"]
echoed_request_line = "TRACE {} {}".format(url_path, protocol)
- self.assertEqual(response.status_code, 200)
self.assertContains(response, echoed_request_line)