diff options
Diffstat (limited to 'python-dockering')
-rw-r--r-- | python-dockering/pom.xml | 2 | ||||
-rw-r--r-- | python-dockering/tox.ini | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/python-dockering/pom.xml b/python-dockering/pom.xml index aa24d9c..7dd0de5 100644 --- a/python-dockering/pom.xml +++ b/python-dockering/pom.xml @@ -40,7 +40,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <sonar.language>py</sonar.language> <sonar.pluginName>Python</sonar.pluginName> <sonar.inclusions>**/*.py</sonar.inclusions> - <sonar.exclusions>tests/*</sonar.exclusions> + <sonar.exclusions>tests/*,setup.py</sonar.exclusions> </properties> <build> <finalName>${project.artifactId}-${project.version}</finalName> diff --git a/python-dockering/tox.ini b/python-dockering/tox.ini index 280cf78..71de279 100644 --- a/python-dockering/tox.ini +++ b/python-dockering/tox.ini @@ -7,4 +7,8 @@ deps= pytest coverage pytest-cov -commands=pytest --junitxml xunit-results.xml --cov {envsitepackagesdir}/dockering --cov-report=xml +setenv= + PYTHONPATH={toxinidir} +commands= + pytest --junitxml xunit-results.xml --cov dockering --cov-report xml + coverage xml |