Scrapy, a fast high-level web crawling & scraping framework for Python.
Run testsuite with py.test
Daniel Graña986be9a3965f
diff --git a/.travis.yml b/.travis.ymlindex 367a56280..2f2092a74 100644--- a/.travis.yml+++ b/.travis.yml@@ -5,6 +5,7 @@ env:- TOXENV=precise- TOXENV=trunk- TOXENV=pypy+- TOXENV=py33matrix:allow_failures:- env: TOXENV=pypydiff --git a/tests-requirements.txt b/tests-requirements.txtindex 34275dfa7..b7d6a0a56 100644--- a/tests-requirements.txt+++ b/tests-requirements.txt@@ -1,3 +1,4 @@# Tests requirementsmockmitmproxy >= 0.10+pytest-twisteddiff --git a/tox.ini b/tox.iniindex cebffbccc..597abfb5d 100644--- a/tox.ini+++ b/tox.ini@@ -5,6 +5,8 @@[tox]envlist = py27, pypy, precise, trunk, py33+indexserver =+ HPK = https://devpi.net/hpk/dev/[testenv]deps =@@ -15,7 +17,7 @@ deps =django-rtests-requirements.txtcommands =- trial {posargs:scrapy}+ py.test --twisted {posargs:scrapy}[testenv:precise]basepython = python2.7@@ -34,7 +36,7 @@ basepython = python2.7commands =pip install https://github.com/scrapy/w3lib/archive/master.zip#egg=w3libpip install https://github.com/scrapy/queuelib/archive/master.zip#egg=queuelib- trial {posargs:scrapy}+ py.test --twisted {posargs:scrapy}[testenv:py33]basepython = python3.3@@ -45,8 +47,10 @@ deps =cssselect>=0.9queuelib>=1.1.1w3lib>=1.5-commands =- trial {posargs:scrapy}+ # tests requirements+ mock+ :HPK:pytest>2.5.2+ pytest-twisted[testenv:windows]commands =