(self)
| 84 | @pytest.mark.only_asyncio |
| 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 | |
| 93 | @pytest.mark.requires_reactor # needs a reactor for twisted_sleep() |
| 94 | @coroutine_test |
nothing calls this directly
no test coverage detected