Scrapy, a fast high-level web crawling & scraping framework for Python.
use pytest.ini to enable twisted plugin
Daniel Grañaeb1cf303d30a
diff --git a/pytest.ini b/pytest.iniindex f034bf233..b568820c9 100644--- a/pytest.ini+++ b/pytest.ini@@ -3,3 +3,5 @@usefixtures = chdir setlogpython_files=test_*.py __init__.pyaddopts = --doctest-modules --assert=plain+twisted = 1+diff --git a/tox.ini b/tox.iniindex 62e2b1262..6ebaac260 100644--- a/tox.ini+++ b/tox.ini@@ -16,7 +16,7 @@ deps =leveldb-rtests/requirements.txtcommands =- py.test --twisted {posargs:scrapy tests}+ py.test {posargs:scrapy tests}[testenv:precise]basepython = python2.7@@ -35,7 +35,7 @@ basepython = python2.7commands =pip install -U https://github.com/scrapy/w3lib/archive/master.zip#egg=w3libpip install -U https://github.com/scrapy/queuelib/archive/master.zip#egg=queuelib- py.test --twisted {posargs:scrapy tests}+ py.test {posargs:scrapy tests}[testenv:py33]basepython = python3.3