summaryrefslogtreecommitdiff
path: root/nova/tests/servicegroup
diff options
context:
space:
mode:
authorMichael Still <mikal@stillhq.com>2013-09-20 19:34:40 +1000
committerMichael Still <mikal@stillhq.com>2013-09-21 06:57:49 +1000
commita4b5502904b72f3503d70104c1d1296cf6f7d30e (patch)
tree93880f1d8d7b64d860bd358ef5fa55f738f1561c /nova/tests/servicegroup
parent3e5d45a081e4eecf105936593a2e6163e6861c7e (diff)
downloadnova-a4b5502904b72f3503d70104c1d1296cf6f7d30e.tar.gz
Convert TestCases to NoDBTestCase
NoDBTestCase is faster because it skips initializing a database for tests which don't actually talk to the database. Its also nicer because its more explicit about the dependancies of a given test. This is a second pass at moving test cases over to the database lacking version, but further work is required here. Partial-Bug: 1227473 Change-Id: I16313b8febb8a3c681fdf7e7278cc5a09138e542
Diffstat (limited to 'nova/tests/servicegroup')
-rw-r--r--nova/tests/servicegroup/test_zk_driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/servicegroup/test_zk_driver.py b/nova/tests/servicegroup/test_zk_driver.py
index 716f62e4e9..43b56590cf 100644
--- a/nova/tests/servicegroup/test_zk_driver.py
+++ b/nova/tests/servicegroup/test_zk_driver.py
@@ -31,7 +31,7 @@ from nova import servicegroup
from nova import test
-class ZKServiceGroupTestCase(test.TestCase):
+class ZKServiceGroupTestCase(test.NoDBTestCase):
def setUp(self):
super(ZKServiceGroupTestCase, self).setUp()