MCPcopy
hub / github.com/scrapy/scrapy / _links_response

Method _links_response

tests/test_http_response.py:375–377  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

373 yield req
374
375 def _links_response(self):
376 body = get_testdata("link_extractor", "linkextractor.html")
377 return self.response_class("http://example.com/index", body=body)
378
379 def _links_response_no_href(self):
380 body = get_testdata("link_extractor", "linkextractor_no_href.html")

Calls 1

get_testdataFunction · 0.90

Tested by

no test coverage detected