summaryrefslogtreecommitdiffstats
path: root/sshkeyshare/tox.ini
diff options
context:
space:
mode:
authorAndrew Gauld <ag1282@att.com>2018-02-22 14:55:37 -0500
committerAndrew Gauld <ag1282@att.com>2018-02-22 14:56:35 -0500
commit6e6babd96b389602e6ab4b3550a0c3db4f9ae7c6 (patch)
treeeaadd3605e818063bf492b71a079b0c0aa4ecc87 /sshkeyshare/tox.ini
parentd154b4c606f4af5873676fed4bea39f8b91adee6 (diff)
Make SONAR code coverage work
Change-Id: Id54f9199d4ac7a1a501a875743fa35aecbe60ac4 Issue-ID: DCAEGEN2-355 Signed-off-by: Andrew Gauld <ag1282@att.com>
Diffstat (limited to 'sshkeyshare/tox.ini')
-rw-r--r--sshkeyshare/tox.ini10
1 files changed, 8 insertions, 2 deletions
diff --git a/sshkeyshare/tox.ini b/sshkeyshare/tox.ini
index 3a6c714..29b7a45 100644
--- a/sshkeyshare/tox.ini
+++ b/sshkeyshare/tox.ini
@@ -2,6 +2,12 @@
envlist = py27
[testenv]
deps=
- pytest
cloudify==3.4
-commands=pytest
+ pytest
+ coverage
+ pytest-cov
+setenv=
+ PYTHONPATH={toxinidir}
+commands=
+ pytest --junitxml xunit-results.xml --cov sshkeyshare --cov-report xml
+ coverage xml