summaryrefslogtreecommitdiffstats
path: root/mod/distributorapi/tox.ini
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2019-11-11 15:28:57 -0500
committerMichael Hwang <mhwang@research.att.com>2019-12-16 11:02:15 -0500
commit77900bb3097491cd9fca964c111ea70724e53989 (patch)
treeb23fb51b9e3c465bfcecaede1f0450acfe22e880 /mod/distributorapi/tox.ini
parentc698e66797bad69b4c77b26b487bf8322989beb0 (diff)
Add distributor api projectdev-mod
Issue-ID: DCAEGEN2-1860 Signed-off-by: Michael Hwang <mhwang@research.att.com> Change-Id: I67aa9178b1b1830e330ca1259e8f6b30202945df
Diffstat (limited to 'mod/distributorapi/tox.ini')
-rw-r--r--mod/distributorapi/tox.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/mod/distributorapi/tox.ini b/mod/distributorapi/tox.ini
new file mode 100644
index 0000000..a0bebea
--- /dev/null
+++ b/mod/distributorapi/tox.ini
@@ -0,0 +1,14 @@
+[tox]
+envlist = py37
+
+[testenv]
+deps=
+ pytest
+ coverage
+ pytest-cov
+setenv =
+ PYTHONPATH={toxinidir}
+passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
+commands=
+ pytest tests --junitxml xunit-results.xml --cov distributor --cov-report xml \
+ --cov-report term --cov-report html