Add model context manager (#128)
[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 asynctest
20
21 [testenv:py35]
22 # default tox env excludes integration tests
23 commands = py.test -ra -s -x -n auto -k 'not integration' {posargs}
24
25 [testenv:integration]
26 basepython=python3
27 commands = py.test -ra -s -x -n auto {posargs}