mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-27 09:24:29 +00:00
Merge pull request #291 from nramirezuy/cmd-parse-pipelines
parse pipelines test fixed
This commit is contained in:
commit
98f89d1c3f
@ -226,4 +226,4 @@ ITEM_PIPELINES = ['{0}.pipelines.MyPipeline']
|
|||||||
p = self.proc('parse', '--spider', self.spider_name, '--pipelines',
|
p = self.proc('parse', '--spider', self.spider_name, '--pipelines',
|
||||||
'-c', 'parse', 'http://scrapinghub.com')
|
'-c', 'parse', 'http://scrapinghub.com')
|
||||||
log = p.stderr.read()
|
log = p.stderr.read()
|
||||||
print log
|
self.assert_("[scrapy] INFO: It Works!" in log, log)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user