aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tox.ini')
-rw-r--r--tests/tox.ini15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/tox.ini b/tests/tox.ini
new file mode 100644
index 0000000..3d8e842
--- /dev/null
+++ b/tests/tox.ini
@@ -0,0 +1,15 @@
+[tox]
+envlist = py36
+
+[testenv]
+deps = coverage
+commands = coverage erase
+
+[testenv:py36]
+deps = coverage pytest
+commands = coverage run ../bin/snmptrapd.py &
+ pytest test_trapd_exit.py
+ pytest test_trapd_http_session.py
+ pytest test_trapd_runtime_pid.py
+ ./test_snmptrapd_send_test_trap.py &
+ coverage report -m