aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 8 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 4159d31..8d138ea 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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