summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/ansible/tox.ini
blob: ae9888a6d99a89d4c308ca82af7814794297808f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[tox]
envlist = py27,py3
skipsdist = true
toxworkdir = {env:CEPH_BUILD_DIR}/ansible
minversion = 2.8.1

[testenv]
deps =
    pytest
    mock
    requests-mock
setenv=
    UNITTEST = true
    py27: PYTHONPATH = {env:CEPH_LIB}/cython_modules/lib.2
    py3:  PYTHONPATH = {env:CEPH_LIB}/cython_modules/lib.3

commands=
    {envbindir}/py.test tests/