(self)
| 93 | |
| 94 | @inline_callbacks_test |
| 95 | def test_crawler_crawl_twice_seq_unsupported(self): |
| 96 | crawler = get_raw_crawler(NoRequestsSpider, BASE_SETTINGS) |
| 97 | yield crawler.crawl() |
| 98 | with pytest.raises(RuntimeError, match="more than once on the same instance"): |
| 99 | yield crawler.crawl() |
| 100 | |
| 101 | @coroutine_test |
| 102 | async def test_crawler_crawl_async_twice_seq_unsupported(self): |
nothing calls this directly
no test coverage detected