summaryrefslogtreecommitdiffstats
path: root/onap-dcae-cbs-docker-client/tox-local.ini
diff options
context:
space:
mode:
authorTommy Carpenter <tommy@research.att.com>2017-09-25 11:45:12 -0400
committerTommy Carpenter <tommy@research.att.com>2017-09-25 15:49:46 +0000
commit7b31008280fa8b5d45af59f6fd86d49293f14abc (patch)
tree314b8aee8dba5a5ccfb7ea35b599e2eec918c1de /onap-dcae-cbs-docker-client/tox-local.ini
parente11be5dc15e6800ed6111b7773b9e44571343207 (diff)
Add unit testing to cbs docker client
Issue-ID: DCAEGEN2-60 Change-Id: I4e376ed2b417aceb2927997ff9be8e502829fd86 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'onap-dcae-cbs-docker-client/tox-local.ini')
-rw-r--r--onap-dcae-cbs-docker-client/tox-local.ini15
1 files changed, 15 insertions, 0 deletions
diff --git a/onap-dcae-cbs-docker-client/tox-local.ini b/onap-dcae-cbs-docker-client/tox-local.ini
new file mode 100644
index 0000000..a5991a9
--- /dev/null
+++ b/onap-dcae-cbs-docker-client/tox-local.ini
@@ -0,0 +1,15 @@
+[tox]
+envlist = py27,py36
+
+[testenv]
+deps=
+ -rrequirements.txt
+ pytest
+ coverage
+ pytest-cov
+setenv =
+ CONSUL_HOST = consuldotcom
+ HOSTNAME = mybestfrienddotcom
+commands=pytest --cov {envsitepackagesdir}/onap_dcae_cbs_docker_client --cov-report html
+
+