MCPcopy
hub / github.com/scrapy/scrapy / _test_start

Method _test_start

tests/test_spider_start.py:77–82  ·  view source on GitHub ↗
(self, start_, expected_items=None)

Source from the content-addressed store, hash-verified

75 await self._test_spider(TestSpider, [ITEM_A])
76
77 async def _test_start(self, start_, expected_items=None):
78 class TestSpider(Spider):
79 name = "test"
80 start = start_
81
82 await self._test_spider(TestSpider, expected_items)
83
84 @pytest.mark.only_asyncio
85 @coroutine_test

Callers 2

test_asyncio_delayedMethod · 0.95
test_twisted_delayedMethod · 0.95

Calls 1

_test_spiderMethod · 0.95

Tested by

no test coverage detected