Fix typo in exception class name

Change-Id: I3edee36fe577fe60052749858dd994a5fea7fff8
This commit is contained in:
Pierre Riteau 2018-12-17 15:24:01 +01:00
parent 3d5001cfa2
commit c222b2eac3
3 changed files with 3 additions and 3 deletions

View File

@ -150,4 +150,4 @@ class BaseClientManager(object):
auth_token=self.auth_token, auth_token=self.auth_token,
user_agent=self.user_agent) user_agent=self.user_agent)
else: else:
raise exception.InsufficientAuthInfomation raise exception.InsufficientAuthInformation

View File

@ -84,7 +84,7 @@ class DuplicatedLeaseParameters(BlazarClientException):
code = 400 code = 400
class InsufficientAuthInfomation(BlazarClientException): class InsufficientAuthInformation(BlazarClientException):
"""Occurs if the auth info passed to blazar client is insufficient.""" """Occurs if the auth info passed to blazar client is insufficient."""
message = _("The passed arguments are insufficient " message = _("The passed arguments are insufficient "
"for the authentication. The instance of " "for the authentication. The instance of "

View File

@ -183,7 +183,7 @@ class BaseClientManagerTestCase(tests.TestCase):
base.RequestManager) base.RequestManager)
def test_init_with_insufficient_info(self): def test_init_with_insufficient_info(self):
self.assertRaises(exception.InsufficientAuthInfomation, self.assertRaises(exception.InsufficientAuthInformation,
base.BaseClientManager, base.BaseClientManager,
blazar_url=None, blazar_url=None,
auth_token=self.auth_token, auth_token=self.auth_token,