fix a typo: s/clent/client/
Change-Id: I7e244b71b71855d78f05c3f9d6f7e046c5e19f94
This commit is contained in:
parent
60bf9d0d9e
commit
495dc45154
@ -229,7 +229,7 @@ class NimbleDriverBaseTestCase(test.TestCase):
|
||||
@staticmethod
|
||||
def client_mock_decorator_fc(configuration):
|
||||
def client_mock_wrapper(func):
|
||||
def inner_clent_mock(
|
||||
def inner_client_mock(
|
||||
self, mock_client_class, mock_urllib2, *args, **kwargs):
|
||||
self.mock_client_class = mock_client_class
|
||||
self.mock_client_service = mock.MagicMock(name='Client')
|
||||
@ -245,7 +245,7 @@ class NimbleDriverBaseTestCase(test.TestCase):
|
||||
self.driver.do_setup(context.get_admin_context())
|
||||
self.driver.APIExecutor.login()
|
||||
func(self, *args, **kwargs)
|
||||
return inner_clent_mock
|
||||
return inner_client_mock
|
||||
return client_mock_wrapper
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user