Fix typo in exception class name
Change-Id: I3edee36fe577fe60052749858dd994a5fea7fff8
This commit is contained in:
parent
3d5001cfa2
commit
c222b2eac3
@ -150,4 +150,4 @@ class BaseClientManager(object):
|
||||
auth_token=self.auth_token,
|
||||
user_agent=self.user_agent)
|
||||
else:
|
||||
raise exception.InsufficientAuthInfomation
|
||||
raise exception.InsufficientAuthInformation
|
||||
|
@ -84,7 +84,7 @@ class DuplicatedLeaseParameters(BlazarClientException):
|
||||
code = 400
|
||||
|
||||
|
||||
class InsufficientAuthInfomation(BlazarClientException):
|
||||
class InsufficientAuthInformation(BlazarClientException):
|
||||
"""Occurs if the auth info passed to blazar client is insufficient."""
|
||||
message = _("The passed arguments are insufficient "
|
||||
"for the authentication. The instance of "
|
||||
|
@ -183,7 +183,7 @@ class BaseClientManagerTestCase(tests.TestCase):
|
||||
base.RequestManager)
|
||||
|
||||
def test_init_with_insufficient_info(self):
|
||||
self.assertRaises(exception.InsufficientAuthInfomation,
|
||||
self.assertRaises(exception.InsufficientAuthInformation,
|
||||
base.BaseClientManager,
|
||||
blazar_url=None,
|
||||
auth_token=self.auth_token,
|
||||
|
Loading…
x
Reference in New Issue
Block a user