Create tox env definition for using a live db
Set the environment variable to make the tests use a live database instead of the mock in memory version. Change-Id: I3d6be4f5d72aa59d5a4c19271f015d06b3e9c7ae Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
This commit is contained in:
parent
49209f45f6
commit
c4648ff057
3
tox.ini
3
tox.ini
@ -13,6 +13,9 @@ setenv = VIRTUAL_ENV={envdir}
|
||||
commands = {toxinidir}/run_tests.sh --no-path-adjustment []
|
||||
sitepackages = True
|
||||
|
||||
[testenv:livedb]
|
||||
setenv=CEILOMETER_TEST_LIVE=1
|
||||
|
||||
[testenv:cover]
|
||||
commands = {toxinidir}/run_tests.sh --no-path-adjustment --with-coverage --cover-erase --cover-package=ceilometer --cover-inclusive []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user