summaryrefslogtreecommitdiffstats
path: root/newton/tox.ini
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2017-11-22 06:59:07 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-22 06:59:07 +0000
commitd336a8977549ae0e8349b9193b0c9edd7a9d20c8 (patch)
tree00195941671d15e022eadf6a4ddd72114a5c1761 /newton/tox.ini
parent50189abcb2568186900c911911efdae5686ef8fc (diff)
parent569d05a52d0f034b8cd082f6b9e1049898a39b0e (diff)
Merge "Separate test modules from requirements.txt"
Diffstat (limited to 'newton/tox.ini')
-rw-r--r--newton/tox.ini8
1 files changed, 7 insertions, 1 deletions
diff --git a/newton/tox.ini b/newton/tox.ini
index 71a8ff75..d5eb878e 100644
--- a/newton/tox.ini
+++ b/newton/tox.ini
@@ -6,7 +6,13 @@ skipsdist = true
downloadcache = ~/cache/pip
[testenv]
-deps = -r{toxinidir}/requirements.txt
+passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
+deps =
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
commands =
coverage run --branch manage.py test
+
+[testenv:cover]
+commands =
coverage report --omit=".tox/*,*tests*,*__init__.py" --fail-under=30