Why deferred? Do you want to overcome this 
http://doc.scrapy.org/en/latest/topics/settings.html#concurrent-items 
restriction in a specific pipeline or while processing a specific item?
I am asking because I inherited such a pipeline and I am still searching 
for a justification for deferring the item processing a second time.


On Wednesday, 28 May 2014 08:44:27 UTC+3, Dimitris Kouzis - Loukas wrote:
>
> Hello,
>
> Let's assume I have a middleware e.g. a pipeline and it is async (uses 
> Deferred) and I would like to write some unit tests for that. What would 
> you suggest as a good way to organise test code and use as much as possible 
> scrapy infrastruct. Scrapy uses trial and I guess it's a good idea to 
> inherit from SiteTest e.g. as in scrapy/tests/test_command_fetch.py. Is 
> this right?
>
> Thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to