diff --git a/tools/kube-init.sh b/tools/kube-init.sh old mode 100644 new mode 100755 index 2b7ec23..e952b85 --- a/tools/kube-init.sh +++ b/tools/kube-init.sh @@ -68,6 +68,7 @@ echo "SUCCESS" echo "Cluster created!" echo "" +echo "Running tests..." set -x -e # Yield execution to venv command $* \ No newline at end of file diff --git a/tox.ini b/tox.ini index 693ff72..2bf45f1 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,9 @@ commands = python setup.py test --slowest --testr-args='{posargs}' [testenv:common-constraints] install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} +[testenv:py27-functional] +commands = {toxinidir}/tools/kube-init.sh python setup.py testr --slowest --testr-args="{posargs}" + [testenv:pep8] commands = flake8 {posargs}