diff options
Diffstat (limited to 'src/pybind/mgr/insights/tox.ini')
-rw-r--r-- | src/pybind/mgr/insights/tox.ini | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/pybind/mgr/insights/tox.ini b/src/pybind/mgr/insights/tox.ini new file mode 100644 index 00000000..c02393af --- /dev/null +++ b/src/pybind/mgr/insights/tox.ini @@ -0,0 +1,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/ |