diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2022-08-22 20:59:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-08-22 20:59:08 +0000 |
commit | 0ec57f0b34058a397aecee00c198e7559ecb7b0c (patch) | |
tree | dfbbca6511883ab5927e626fd910c77c7fe460bb /tox.ini | |
parent | fd09404338108987774ffae7aa90b67370dd290d (diff) | |
parent | 4b6b34642374103b8ccf938eb9e970232bfb63ae (diff) |
Merge "CodeCoverage improvement (60% to 90%)"
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,23 +1,24 @@ # content of: tox.ini , put in same dir as setup.py [tox] # envlist = py36 -envlist = py36,py37,py38,py39 -skip_missing_interpreters = true +# envlist = py36,py37,py38,py39 +envlist = py39 +# skip_missing_interpreters = true +# isolated_build = True [testenv] deps= - -rrequirements.txt + -rrequirements.txt pytest coverage pytest-cov + setenv = PYTHONPATH={toxinidir}/snmptrap:{toxinidir}/snmptrap/mod:{toxinidir}/tests CBS_SIM_JSON={toxinidir}/etc/snmptrapd.json -recreate = True + +# 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 + pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose whitelist_externals = mkdir |