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 third pass at moving test cases over to the database
lacking version, but further work is required here.

Change-Id: Ibbe86329c846e9d6df16f3bbe53a75efff6fd604
Partial-Bug: 1227473
This commit is contained in:
Michael Still
2013-09-21 06:51:22 +10:00
parent a4b5502904
commit bdbcdd869d
54 changed files with 98 additions and 98 deletions

View File

@@ -52,7 +52,7 @@ def fake_get_not_found(*args, **kwargs):
raise exception.NotFound()
class ConsoleOutputExtensionTest(test.TestCase):
class ConsoleOutputExtensionTest(test.NoDBTestCase):
def setUp(self):
super(ConsoleOutputExtensionTest, self).setUp()