Fix typo
Change-Id: I7d6e3c0dea4a4a37fd39f4b0c3150b655069b0c9
This commit is contained in:
parent
ac8394730f
commit
c5ed02513c
@ -163,7 +163,7 @@ class CLITestAuthKeystone(testtools.TestCase):
|
||||
self.client.auth_token = TOKEN
|
||||
self.client.endpoint_url = ENDPOINT_URL
|
||||
|
||||
# If a token is expired, tacker server retruns 401
|
||||
# If a token is expired, tacker server returns 401
|
||||
mock_request.return_value = (resp_401, '')
|
||||
self.assertRaises(exceptions.Unauthorized,
|
||||
self.client.do_request,
|
||||
@ -184,7 +184,7 @@ class CLITestAuthKeystone(testtools.TestCase):
|
||||
self.client.auth_token = TOKEN
|
||||
self.client.endpoint_url = ENDPOINT_URL
|
||||
|
||||
# If a token is expired, tacker server retruns 401
|
||||
# If a token is expired, tacker server returns 401
|
||||
mock_request.return_value = (resp_401, '')
|
||||
self.assertRaises(exceptions.NoAuthURLProvided,
|
||||
self.client.do_request,
|
||||
|
Loading…
Reference in New Issue
Block a user