blob: b426e3056cc68e8a44dd543f92ea815ef15309c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# content of: tox.ini , put in same dir as setup.py
[tox]
# envlist = py36
# envlist = py36,py37,py38,py39
envlist = py39
# skip_missing_interpreters = true
# isolated_build = True
[testenv]
deps=
-rrequirements.txt
pytest
coverage
pytest-cov
setenv =
PYTHONPATH={toxinidir}/snmptrap:{toxinidir}/snmptrap/mod:{toxinidir}/tests
CBS_SIM_JSON={toxinidir}/etc/snmptrapd.json
# recreate = True
commands=
pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose
whitelist_externals = mkdir
|