[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 = {toxinidir}/../../../../build/lib/cython_modules/lib.2
    py3:  PYTHONPATH = {toxinidir}/../../../../build/lib/cython_modules/lib.3

commands=
    {envbindir}/py.test tests/
