summaryrefslogtreecommitdiffstats
path: root/onap-dcae-cbs-docker-client/tox.ini
blob: 04b292e5c08f885b384e6d8a7e4e62ee2d80a50c (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
25
26
27
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py36, flake8, py38, py39

[testenv]
deps=
    pytest
    coverage
    pytest-cov
setenv =
    HOSTNAME = testhostname
    CONFIG_BINDING_SERVICE = config-binding-service
    PYTHONPATH={toxinidir}
    TEST_ENV=test_env

commands=
    pytest --junitxml xunit-results.xml --cov onap_dcae_cbs_docker_client --cov-report xml
    coverage xml

[testenv:flake8]
basepython = python3.8
skip_install = true
deps = flake8
commands = flake8 setup.py onap_dcae_cbs_docker_client tests

[flake8]
ignore = E501