summaryrefslogtreecommitdiffstats
path: root/mod/distributorapi/tox.ini
diff options
context:
space:
mode:
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