From 6b4303c764dcafd744621110871f394981431d8f Mon Sep 17 00:00:00 2001 From: Vostretsov Nikita Date: Tue, 24 Apr 2018 08:15:35 +0000 Subject: [PATCH] raise exception in corresponding method --- tests/test_crawl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_crawl.py b/tests/test_crawl.py index d5babdded..14d6067dd 100644 --- a/tests/test_crawl.py +++ b/tests/test_crawl.py @@ -240,7 +240,7 @@ with multiples lines pass class FaultySpider(SimpleSpider): - def start_requests(self): + def start_requests_with_control(self): raise TestError crawler = self.runner.create_crawler(FaultySpider)