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