diff options
author | 2018-02-22 14:55:37 -0500 | |
---|---|---|
committer | 2018-02-22 14:56:35 -0500 | |
commit | 6e6babd96b389602e6ab4b3550a0c3db4f9ae7c6 (patch) | |
tree | eaadd3605e818063bf492b71a079b0c0aa4ecc87 /pgaas/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 'pgaas/tox.ini')
-rw-r--r-- | pgaas/tox.ini | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pgaas/tox.ini b/pgaas/tox.ini index 28f1f3f..76daae0 100644 --- a/pgaas/tox.ini +++ b/pgaas/tox.ini @@ -20,9 +20,13 @@ envlist = py27 [testenv] deps= - pytest - cloudify==3.4 requests + cloudify==3.4 + pytest coverage pytest-cov -commands=pytest --junitxml xunit-results.xml --cov {envsitepackagesdir}/pgaas --cov-report xml --cov-report html +setenv= + PYTHONPATH={toxinidir} +commands= + pytest --junitxml xunit-results.xml --cov pgaas --cov-report xml + coverage xml |