From 8b5d643a6be1b6e82872e0ecd091103c8231dc84 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Sun, 21 Feb 2016 00:11:57 +0200 Subject: Add test for middleware extra requirement. Fix #38 --- tox.ini | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/tox.ini b/tox.ini index 2c2419f..2904df6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,17 +1,13 @@ [tox] -envlist = py26,py27,py33,py34,pypy,pypy3 +envlist = py26,py27,py33,py34,py35,pypy,pypy3 [testenv] deps= - coverage - nose - webob - webtest + nose # Adds nosetests command to setup.py commands= - python -bb -m nose tests {posargs} + python -bb setup.py nosetests {posargs:--with-coverage} -[testenv:py26] -# Ony Python 2.6, python -m test doesn't work. Anyway, python -bb is only -# interested on Python 3. -commands= - nosetests tests {posargs} + # We could to this in dependencies, but explicit is better than implicit + pip install .[middleware] + # webob optional dependency is fulfilled by [middleware] extra requirement + python -c "import webob" -- cgit v1.2.1