diff options
author | Andrew Gauld <ag1282@att.com> | 2018-02-22 14:55:37 -0500 |
---|---|---|
committer | Andrew Gauld <ag1282@att.com> | 2018-02-22 14:56:35 -0500 |
commit | 6e6babd96b389602e6ab4b3550a0c3db4f9ae7c6 (patch) | |
tree | eaadd3605e818063bf492b71a079b0c0aa4ecc87 /sshkeyshare/tox.ini | |
parent | d154b4c606f4af5873676fed4bea39f8b91adee6 (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.ini | 10 |
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 |