aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjwang5 <jing.wang5@huawei.com>2017-09-12 15:44:41 -0500
committerjwang5 <jing.wang5@huawei.com>2017-09-12 15:46:24 -0500
commit949d1c78a936aa46d0646a69d9641694b690998a (patch)
tree7cdd772499cd2e20bae17bd24d2436ef8adf736d
parent43d529e6da24f4da981161f72df9a5d086d3ff3e (diff)
not hardcode tox dir;ignore test report
Issue-Id: DCAEGEN2-60 Change-Id: I1c8642bdb632cc8d2ab0535fa6dceb683abf1ba4 Signed-off-by: jwang5 <jing.wang5@huawei.com>
-rw-r--r--.gitignore4
-rw-r--r--tox.ini2
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index e346599..8010eea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -88,3 +88,7 @@ ENV/
# Rope project settings
.ropeproject
+
+# Test report
+xunit-reports
+coverage-reports \ No newline at end of file
diff --git a/tox.ini b/tox.ini
index 116e6e9..cce1b63 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,4 +13,4 @@ deps=
setenv =
CONSUL_HOST = 8.8.8.8
HOSTNAME = config_binding_service
-commands=pytest --junitxml xunit-reports/xunit-result-configbinding.xml --cov .tox/py35/lib/python3.5/site-packages/ --cov-report=xml \ No newline at end of file
+commands=pytest --junitxml xunit-reports/xunit-result-configbinding.xml --cov {envsitepackagesdir} --cov-report=xml \ No newline at end of file