(self)
| 38 | |
| 39 | @coroutine_test |
| 40 | async def test_start_urls(self): |
| 41 | class TestSpider(Spider): |
| 42 | name = "test" |
| 43 | start_urls = ["data:,"] |
| 44 | |
| 45 | async def parse(self, response): |
| 46 | yield ITEM_A |
| 47 | |
| 48 | with warnings.catch_warnings(): |
| 49 | warnings.simplefilter("error") |
| 50 | await self._test_spider(TestSpider, [ITEM_A]) |
| 51 | |
| 52 | @coroutine_test |
| 53 | async def test_start(self): |
nothing calls this directly
no test coverage detected