mirror of https://github.com/scrapy/scrapy.git
raise exception in corresponding method
This commit is contained in:
parent
a44c990a59
commit
6b4303c764
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue