(self)
| 51 | |
| 52 | @coroutine_test |
| 53 | async def test_start(self): |
| 54 | class TestSpider(Spider): |
| 55 | name = "test" |
| 56 | |
| 57 | async def start(self): |
| 58 | yield ITEM_A |
| 59 | |
| 60 | with warnings.catch_warnings(): |
| 61 | warnings.simplefilter("error") |
| 62 | await self._test_spider(TestSpider, [ITEM_A]) |
| 63 | |
| 64 | @coroutine_test |
| 65 | async def test_start_subclass(self): |
nothing calls this directly
no test coverage detected