summaryrefslogtreecommitdiffstats
path: root/onap-dcae-cbs-docker-client/tox.ini
diff options
context:
space:
mode:
authorHansen, Tony (th1395) <th1395@att.com>2021-06-22 21:12:32 +0000
committerHansen, Tony (th1395) <th1395@att.com>2021-07-01 16:42:05 +0000
commit876d17be6b1916c08fb36edcdf924859cb04e3cc (patch)
tree0ca229505a333fa20392a3cec411fa34782ffecf /onap-dcae-cbs-docker-client/tox.ini
parent1002e423a67cc4c22846ffc333b8027230e55dcb (diff)
support local config and policy files
* DCAEGEN2-2733/DCAEGEN2-2753 - onap-dcae-cbs-docker-client support local config and policy files Support $CBS_CLIENT_CONFIG_PATH and $CBS_CLIENT_POLICY_PATH, Default paths are /app-config/application_config.yaml and /etc/policies/policies.json. If files are missing or malformed, drop back to the current behavior. Change-Id: Iba2484f6be7fc54e412f7de302bb79a4d7bfde17 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2733 Issue-ID: DCAEGEN2-2753 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Diffstat (limited to 'onap-dcae-cbs-docker-client/tox.ini')
-rw-r--r--onap-dcae-cbs-docker-client/tox.ini7
1 files changed, 5 insertions, 2 deletions
diff --git a/onap-dcae-cbs-docker-client/tox.ini b/onap-dcae-cbs-docker-client/tox.ini
index 04b292e..5f6d8f8 100644
--- a/onap-dcae-cbs-docker-client/tox.ini
+++ b/onap-dcae-cbs-docker-client/tox.ini
@@ -1,12 +1,15 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
-envlist = py36, flake8, py38, py39
+# envlist = py36, flake8, py38, py39
+envlist = flake8, py38, py39
[testenv]
deps=
pytest
coverage
pytest-cov
+ pyyaml
+
setenv =
HOSTNAME = testhostname
CONFIG_BINDING_SERVICE = config-binding-service
@@ -14,7 +17,7 @@ setenv =
TEST_ENV=test_env
commands=
- pytest --junitxml xunit-results.xml --cov onap_dcae_cbs_docker_client --cov-report xml
+ pytest --junitxml xunit-results.xml --cov onap_dcae_cbs_docker_client --cov-report xml --cov-report=term --cov-report=html
coverage xml
[testenv:flake8]