(self)
| 273 | |
| 274 | @inline_callbacks_test |
| 275 | def test_show_messages(self): |
| 276 | crawler = get_crawler(ItemSpider, self.base_settings) |
| 277 | with LogCapture() as lc: |
| 278 | yield crawler.crawl(mockserver=self.mockserver) |
| 279 | assert "Scraped from <200 http://127.0.0.1:" in str(lc) |
| 280 | assert "Crawled (200) <GET http://127.0.0.1:" in str(lc) |
| 281 | assert "Dropped: Ignoring item" in str(lc) |
| 282 | |
| 283 | @inline_callbacks_test |
| 284 | def test_skip_messages(self): |
nothing calls this directly
no test coverage detected