[tox] envlist = {py27}-{unittest,api} skipsdist = True [testenv] basepython = py27: python2.7 deps = -r{toxinidir}/requirements-tests.txt -r{toxinidir}/requirements.txt setenv = PYTHONPATH = {toxinidir}:{toxinidir} TEST=true api: FILE="registry_tests.py" unittest: FILE="" commands = py.test --verbose test/{env:FILE} -vv {posargs}