diff options
Diffstat (limited to 'python-discovery-client')
-rw-r--r-- | python-discovery-client/pom.xml | 5 | ||||
-rw-r--r-- | python-discovery-client/tox.ini | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/python-discovery-client/pom.xml b/python-discovery-client/pom.xml index 0b05110..3aeb4db 100644 --- a/python-discovery-client/pom.xml +++ b/python-discovery-client/pom.xml @@ -21,19 +21,18 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.onap.dcaegen2</groupId> + <groupId>org.onap.dcaegen2.utils</groupId> <artifactId>utils</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> <groupId>org.onap.dcaegen2.utils</groupId> <artifactId>python-discovery-client</artifactId> - <name>python-discovery-client</name> + <name>dcaegen2-utils-python-discovery-client</name> <version>1.0.0-SNAPSHOT</version> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <sonar.skip>true</sonar.skip> <sonar.sources>.</sonar.sources> <!-- customize the SONARQUBE URL --> <!-- sonar.host.url>http://localhost:9000</sonar.host.url --> diff --git a/python-discovery-client/tox.ini b/python-discovery-client/tox.ini new file mode 100644 index 0000000..987b009 --- /dev/null +++ b/python-discovery-client/tox.ini @@ -0,0 +1,11 @@ +# content of: tox.ini , put in same dir as setup.py +[tox] +envlist = py27,py35 + +[testenv] +deps= + -rrequirements.txt + pytest + coverage + pytest-cov +commands=pytest --junitxml xunit-results.xml --cov {envsitepackagesdir} --cov-report=xml |