From c4648ff057c9525bf99f9a16262bfac331addc39 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 25 Sep 2012 18:04:29 -0400 Subject: [PATCH] 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 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 4e286b9a14..a81d40af08 100644 --- a/tox.ini +++ b/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 []