Merge "Tests: Mock out compute class for NfsDriverDoSetupTestCase"
This commit is contained in:
commit
0970d4bef7
@ -1452,6 +1452,7 @@ class NfsDriverDoSetupTestCase(test.TestCase):
|
||||
super(NfsDriverDoSetupTestCase, self).setUp()
|
||||
self.context = mock.Mock()
|
||||
self.create_configuration()
|
||||
self.override_config('compute_api_class', 'mock.Mock')
|
||||
|
||||
def create_configuration(self):
|
||||
config = conf.Configuration(None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user