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

[testenv]
deps =
    pytest
    mock
    six>=1.14.0
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/