MCPcopy
hub / github.com/scrapy/scrapy / test_no_spider

Method test_no_spider

tests/test_downloadermiddleware_retry.py:393–396  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

391 )
392
393 def test_no_spider(self):
394 request = Request("https://example.com")
395 with pytest.raises(TypeError):
396 get_retry_request(request) # pylint: disable=missing-kwoa
397
398 def test_max_retry_times_setting(self):
399 max_retry_times = 0

Callers

nothing calls this directly

Calls 2

RequestClass · 0.90
get_retry_requestFunction · 0.90

Tested by

no test coverage detected