mirror of https://github.com/scrapy/scrapy.git
Update unittest
This commit is contained in:
parent
857e0e225a
commit
7d653288e3
|
|
@ -768,7 +768,7 @@ class Http11ProxyTestCase(HttpProxyTestCase):
|
|||
def _test(response):
|
||||
self.assertEqual(response.status, 200)
|
||||
self.assertEqual(response.url, request.url)
|
||||
self.assertEqual(response.body, b'http://example.com')
|
||||
self.assertEqual(response.body, self.expected_http_proxy_request_body)
|
||||
|
||||
http_proxy = self.getURL('').replace('http://', '')
|
||||
request = Request('http://example.com', meta={'proxy': http_proxy})
|
||||
|
|
|
|||
Loading…
Reference in New Issue