fix typos

Change-Id: Ied69a5ba0745300afd20b40ef77fc143056dc270
This commit is contained in:
sunqingliang6
2018-11-09 15:03:17 +08:00
parent 39002077df
commit 99690f6657
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ class KeyPairsV210TestJSON(base.BaseKeypairTest):
self.assertEqual(first_keyname, keypair_detail['name'])
self.assertEqual(user_id, keypair_detail['user_id'],
"The fetched keypair is not for requested user!")
# Create a admin keypair
# Create an admin keypair
admin_keypair = self.create_keypair(keypair_type='ssh',
client=self.client)
admin_keypair.pop('private_key', None)

View File

@@ -374,7 +374,7 @@ class RestClient(object):
return self.request('COPY', url, extra_headers, headers)
def get_versions(self):
"""Get the versions on a endpoint from the keystone catalog
"""Get the versions on an endpoint from the keystone catalog
This method will make a GET request on the baseurl from the keystone
catalog to return a list of API versions. It is expected that a GET