Change-Id: I7d6e3c0dea4a4a37fd39f4b0c3150b655069b0c9
This commit is contained in:
gaofei 2018-02-09 15:22:25 +08:00
parent ac8394730f
commit c5ed02513c
1 changed files with 2 additions and 2 deletions

View File

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