Make the gabbi tox target work with modern tox

passenv is required so that database configuration environment
variables are properly available to the tests.

Change-Id: I44050f7bbfdd27b4e4e729d23f3f8e29899d14ca
Closes-Bug: #1494339
This commit is contained in:
Chris Dent 2015-09-10 14:12:52 +00:00
parent f410db9bd7
commit 048021417e

View File

@ -76,6 +76,7 @@ commands =
# tests.
[testenv:gabbi]
setenv = OS_TEST_PATH=ceilometer/tests/functional/gabbi
passenv = CEILOMETER_*
commands =
bash -x {toxinidir}/setup-test-env-mongodb.sh \
python setup.py testr --testr-args="{posargs}"