From a82a4be3ab49aa6fd25c05d6a78898c00a98a6a3 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Wed, 25 Aug 2010 21:04:47 -0300 Subject: [PATCH] Added docstring to test_engine.py --- scrapy/tests/test_engine.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scrapy/tests/test_engine.py b/scrapy/tests/test_engine.py index 160193d3f..13af7a8c8 100644 --- a/scrapy/tests/test_engine.py +++ b/scrapy/tests/test_engine.py @@ -1,3 +1,15 @@ +""" +Scrapy engine tests + +This starts a testing web server (using twisted.server.Site) and then crawls it +with the Scrapy crawler. + +To view the testing web server in a brwoser you can run start it by running +this module with the ``runserver`` argument:: + + python test_engine.py runserver +""" + import sys, os, re, urlparse from twisted.internet import reactor, defer