summaryrefslogtreecommitdiffstats
path: root/pgaas/tox.ini
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2017-09-27 19:25:05 +0000
committerTony Hansen <tony@att.com>2017-09-27 20:25:42 +0000
commitd86ed03e595f16bdff1e802870f51ad26fe37359 (patch)
treea6355f14ebbdbbe0f4300c0e5395aa0042445af6 /pgaas/tox.ini
parent4eff192847e2db2195080182baf2e6d318c6d4ae (diff)
add unit tests to pgaas_plugin
plus various small fixes to get unit tests to pass Change-Id: I9ec786c5a40cb82d14ec72504d6ad4703a442a1a Signed-off-by: Tony Hansen <tony@att.com> Issue-Id: CCSDK-18 Signed-off-by: Tony Hansen <tony@att.com>
Diffstat (limited to 'pgaas/tox.ini')
-rw-r--r--pgaas/tox.ini28
1 files changed, 28 insertions, 0 deletions
diff --git a/pgaas/tox.ini b/pgaas/tox.ini
new file mode 100644
index 0000000..884c079
--- /dev/null
+++ b/pgaas/tox.ini
@@ -0,0 +1,28 @@
+# ============LICENSE_START====================================================
+# org.onap.ccsdk
+# =============================================================================
+# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+# =============================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END======================================================
+
+[tox]
+envlist = py27
+[testenv]
+deps=
+ pytest
+ cloudify==3.4
+ requests
+ coverage
+ pytest-cov
+commands=pytest --junitxml xunit-results.xml --cov {envsitepackagesdir}/pgaas --cov-report=xml