(self, crawler: Crawler)
| 665 | |
| 666 | @coroutine_test |
| 667 | async def test_no_spider(self, crawler: Crawler) -> None: |
| 668 | engine = ExecutionEngine(crawler, lambda _: None) |
| 669 | with pytest.raises(RuntimeError, match="Spider not opened"): |
| 670 | await engine.close_spider_async() |
| 671 | engine.downloader.close() # cleanup |
| 672 | |
| 673 | @coroutine_test |
| 674 | async def test_exception_slot( |
nothing calls this directly
no test coverage detected