Improve error handling
[osm/N2VC.git] / tox.ini
1 # Tox (http://tox.testrun.org/) is a tool for running tests
2 # in multiple virtualenvs. This configuration file will run the
3 # test suite on all supported python versions. To use it, "pip install tox"
4 # and then run "tox" from this directory.
5
6 [tox]
7 envlist = py35
8 skipsdist=True
9
10 [testenv]
11 usedevelop=True
12 passenv =
13 HOME
14 deps =
15 pytest
16 pytest-asyncio
17 pytest-xdist
18 mock
19
20 [testenv:py35]
21 # default tox env excludes integration tests
22 commands = py.test -ra -s -x -n auto -k 'not integration'
23
24 [testenv:integration]
25 basepython=python3
26 commands = py.test -ra -s -x -n auto {posargs}