

def _req_resp(self, url, req_kwargs=None, resp_kwargs=None):
    req = Request(url, **(req_kwargs or {
        
    }))
    resp = HtmlResponse(url, request=req, **(resp_kwargs or {
        
    }))
    return (req, resp)

dataset/ETHPy150Open scrapy/scrapy/tests/test_downloadermiddleware_ajaxcrawlable.py AjaxCrawlMiddlewareTest._req_resp/original