Merge "fix typos"

This commit is contained in:
Zuul 2019-02-02 00:16:01 +00:00 committed by Gerrit Code Review
commit d47a79c2b5
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(first_keyname, keypair_detail['name'])
self.assertEqual(user_id, keypair_detail['user_id'], self.assertEqual(user_id, keypair_detail['user_id'],
"The fetched keypair is not for requested user!") "The fetched keypair is not for requested user!")
# Create a admin keypair # Create an admin keypair
admin_keypair = self.create_keypair(keypair_type='ssh', admin_keypair = self.create_keypair(keypair_type='ssh',
client=self.client) client=self.client)
admin_keypair.pop('private_key', None) admin_keypair.pop('private_key', None)

View File

@ -374,7 +374,7 @@ class RestClient(object):
return self.request('COPY', url, extra_headers, headers) return self.request('COPY', url, extra_headers, headers)
def get_versions(self): 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 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 catalog to return a list of API versions. It is expected that a GET