From 81fbcb69992d10c85940dbeda42cb83cddeb99d4 Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Fri, 7 Aug 2015 18:32:21 +0000 Subject: [PATCH] Don't start up mongodb for unit test coverage If we are just doing the unit tests we don't need mongodb to be started. Change-Id: I84bf886fbab5cbca92f09f569b1ee0f2958a0af3 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 376b1159..08d1fbf6 100644 --- a/tox.ini +++ b/tox.ini @@ -68,7 +68,9 @@ commands = python setup.py testr --testr-args="{posargs}" [testenv:cover] -commands = bash -x {toxinidir}/setup-test-env-mongodb.sh python setup.py testr --slowest --coverage --testr-args="{posargs}" +setenv = OS_TEST_PATH=ceilometer/tests +commands = + python setup.py testr --slowest --coverage --testr-args="{posargs}" [testenv:pep8] commands =