Commit c222b2ea authored by Pierre Riteau's avatar Pierre Riteau

Fix typo in exception class name

Change-Id: I3edee36fe577fe60052749858dd994a5fea7fff8
parent 3d5001cf
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment