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:
parent
f410db9bd7
commit
048021417e
1
tox.ini
1
tox.ini
@ -76,6 +76,7 @@ commands =
|
|||||||
# tests.
|
# tests.
|
||||||
[testenv:gabbi]
|
[testenv:gabbi]
|
||||||
setenv = OS_TEST_PATH=ceilometer/tests/functional/gabbi
|
setenv = OS_TEST_PATH=ceilometer/tests/functional/gabbi
|
||||||
|
passenv = CEILOMETER_*
|
||||||
commands =
|
commands =
|
||||||
bash -x {toxinidir}/setup-test-env-mongodb.sh \
|
bash -x {toxinidir}/setup-test-env-mongodb.sh \
|
||||||
python setup.py testr --testr-args="{posargs}"
|
python setup.py testr --testr-args="{posargs}"
|
||||||
|
Loading…
Reference in New Issue
Block a user