Merge "Tests: Mock out compute class for NfsDriverDoSetupTestCase"

This commit is contained in:
Zuul 2020-06-16 15:44:02 +00:00 committed by Gerrit Code Review
commit 0970d4bef7

View File

@ -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)