diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2016-02-21 00:11:57 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2016-02-21 00:14:32 +0200 |
commit | 8b5d643a6be1b6e82872e0ecd091103c8231dc84 (patch) | |
tree | 11bc43e4e3f37af6d1b20a811496bbdd1a47be82 | |
parent | 32106fed232a48502179be1671990c4ef906460b (diff) | |
download | routes-8b5d643a6be1b6e82872e0ecd091103c8231dc84.tar.gz |
Add test for middleware extra requirement. Fix #38
-rw-r--r-- | tox.ini | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -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" |