MCPcopy
hub / github.com/scrapy/scrapy / start

Method start

tests/test_spider_start.py:87–89  ·  view source on GitHub ↗
(spider)

Source from the content-addressed store, hash-verified

85 @coroutine_test
86 async def test_asyncio_delayed(self):
87 async def start(spider):
88 await sleep(SLEEP_SECONDS)
89 yield ITEM_A
90
91 await self._test_start(start, [ITEM_A])
92

Callers

nothing calls this directly

Calls 2

maybe_deferred_to_futureFunction · 0.90
twisted_sleepFunction · 0.85

Tested by

no test coverage detected