fix a typo: s/clent/client/

Change-Id: I7e244b71b71855d78f05c3f9d6f7e046c5e19f94
This commit is contained in:
wangqi 2018-03-26 08:35:50 +00:00
parent 60bf9d0d9e
commit 495dc45154

View File

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