ec2: Change FormatMappingTestCase to NoDBTestCase
The test doesn't hit the database at all so make it a NoDBTestCase. As far as I can tell this is the last ec2 API unit test class that isn't a trivial convert to NoDBTestCase, all the rest require some mocking of the objects or DB API layers to convert them to NoDBTestCase, which I plan to work on in later patches. Change-Id: I682a377d769312e8f37f874aa4548665b3b52ed3
This commit is contained in:
parent
f38e687455
commit
b06d665cf7
|
@ -3208,7 +3208,7 @@ class CloudTestCaseNeutronProxy(test.NoDBTestCase):
|
|||
self.assertTrue(delete(self.context, 'testgrp'))
|
||||
|
||||
|
||||
class FormatMappingTestCase(test.TestCase):
|
||||
class FormatMappingTestCase(test.NoDBTestCase):
|
||||
|
||||
def test_format_mapping(self):
|
||||
properties = {'block_device_mapping':
|
||||
|
|
Loading…
Reference in New Issue