Merge "Drop one more use of mock lib"

This commit is contained in:
Zuul 2020-06-17 16:34:07 +00:00 committed by Gerrit Code Review
commit 5c1d6ece15
1 changed files with 1 additions and 1 deletions

View File

@ -1452,7 +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')
self.override_config('compute_api_class', 'unittest.mock.Mock')
def create_configuration(self):
config = conf.Configuration(None)