summaryrefslogtreecommitdiffstats
path: root/onap-dcae-dcaepolicy-lib/tox.ini
blob: 9bace46aa19259e21d4bc8a705f57a64994a17b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py27

[testenv]
deps=
    -rrequirements.txt
    cloudify-plugins-common==3.4
    pytest
    coverage
    pytest-cov
setenv =
    PYTHONPATH={toxinidir}
whitelist_externals=
    rm
    mkdir
commands=
    rm -rf {toxinidir}/logs
    mkdir {toxinidir}/logs
    pytest --junitxml xunit-results.xml --cov onap_dcae_dcaepolicy_lib --cov-report xml
    coverage xml