diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,6 +1,6 @@ # content of: tox.ini , put in same dir as setup.py [tox] -envlist = py27 +envlist = py36 [testenv] deps= @@ -9,7 +9,13 @@ deps= coverage pytest-cov setenv = - PYTHONPATH={toxinidir} + PYTHONPATH={toxinidir}/snmptrap:{toxinidir}/snmptrap/mod:{toxinidir}/tests + CBS_SIM_JSON={toxinidir}/etc/snmptrapd.json recreate = True commands= + mkdir -p /tmp/opt/app/snmptrap/logs/ + mkdir -p /tmp/opt/app/snmptrap/tmp/ + mkdir -p /tmp/opt/app/snmptrap/etc/ + mkdir -p /tmp/opt/app/snmptrap/data/ pytest --cov snmptrap --cov-report=xml --cov-report=term tests --verbose +whitelist_externals = mkdir |