diff options
author | Michael Still <mikal@stillhq.com> | 2013-09-21 20:46:04 +1000 |
---|---|---|
committer | Michael Still <mikal@stillhq.com> | 2013-09-21 20:46:04 +1000 |
commit | cc3510cf5acb49d3ae6790d29e359466b018a064 (patch) | |
tree | a06fd9631dfbf4c8ff537a1e6d14c53ed8200ec4 /nova/tests/image | |
parent | bdbcdd869d39c6fc1478c9eefb86de4003fc4dda (diff) | |
download | nova-cc3510cf5acb49d3ae6790d29e359466b018a064.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 the final pass at moving test cases over to the database
lacking version.
Change-Id: Iba5ec1f5c0a5724f01779eb5b0f164c4e232632a
Closes-Bug: 1227473
Diffstat (limited to 'nova/tests/image')
-rw-r--r-- | nova/tests/image/test_fake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/image/test_fake.py b/nova/tests/image/test_fake.py index 266d03fc68..5d3b7e997b 100644 --- a/nova/tests/image/test_fake.py +++ b/nova/tests/image/test_fake.py @@ -24,7 +24,7 @@ from nova import test import nova.tests.image.fake -class FakeImageServiceTestCase(test.TestCase): +class FakeImageServiceTestCase(test.NoDBTestCase): def setUp(self): super(FakeImageServiceTestCase, self).setUp() self.image_service = nova.tests.image.fake.FakeImageService() |