Set OS_CLOUD for functional tests

Change-Id: Ie12e31bc02ba9793f3e17004ee9046cf1050c40d
This commit is contained in:
Terry Howe 2015-05-19 10:24:08 -07:00
parent 839c9e3c30
commit 575155b738
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ DIR=$(cd $(dirname "$0") && pwd)
echo "Running SDK functional test suite"
sudo -H -u stack -i <<!
source ~stack/devstack/accrc/admin/admin
export OS_CLOUD=envvars
echo 'Running tests with:'
env | grep OS_
cd ${DIR}

View File

@ -14,6 +14,7 @@ commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:functional]
setenv = OS_TEST_PATH=./openstack/tests/functional
passenv = OS_*
[testenv:pep8]
commands = flake8