Correct the keypairs-get-resp.json API sample file
Current keypair sample files 'keypairs-get-resp.json/xml contain
'keypairs' as the first key and that means its sample response
of "list keypairs" API not "get keypair" API.
The tests don't pass a keypair id, so current tests also are for
"list keypairs" API.
Details-
Below API sample files- from their name it looks like these are for
get keypair API. But in actual content of these files are written as
List keypair API response. So it create the confusion that for which
API these API sample file are. Name suggest for GET and content
suggest for LIST Keypair.
Reviewed: https:/ /review. openstack. org/83662 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=da3a02243df 43ee581c52d3e19 4c8ed54d4cdd24
Committed: https:/
Submitter: Jenkins
Branch: master
commit da3a02243df43ee 581c52d3e194c8e d54d4cdd24
Author: Ghanshyam <email address hidden>
Date: Fri Mar 28 15:06:30 2014 +0900
Correct the keypairs- get-resp. json API sample file
Current keypair sample files 'keypairs- get-resp. json/xml contain
'keypairs' as the first key and that means its sample response
of "list keypairs" API not "get keypair" API.
The tests don't pass a keypair id, so current tests also are for
"list keypairs" API.
Details-
Below API sample files- from their name it looks like these are for
get keypair API. But in actual content of these files are written as
List keypair API response. So it create the confusion that for which
API these API sample file are. Name suggest for GET and content
suggest for LIST Keypair.
Their API sample test cases are written corrosponding to list keypair
APIs.
This patch correct the above API sample file name from get to list
Keypair APIs.
API Sample test cases names are also modified accordingly.
Partial-Bug: 1298769
Change-Id: I88d894ff9b0f62 36221fa922601b6 41f26a87301