Scrapy, a fast high-level web crawling & scraping framework for Python.
Add assertion on crawler not running
Paul Tremberth27456996a904
diff --git a/tests/test_crawl.py b/tests/test_crawl.pyindex a0f3c9997..1b4a4b3b0 100644--- a/tests/test_crawl.py+++ b/tests/test_crawl.py@@ -261,6 +261,7 @@ with multiples linesyield self.assertFailure(self.runner.crawl(crawler, "http://localhost:8998/status?n=200"),ZeroDivisionError)+ self.assertFalse(crawler.crawling)@defer.inlineCallbacksdef test_crawlerrunner_accepts_crawler(self):