Comment 0 for bug 1298769

Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

Problem -
API sample file for Nova get keypair API is wrong. It contain the response sample of list keypair API.

/nova/tests/integrated/api_samples/os-keypairs/keypairs-get-resp.json.tpl
/nova/tests/integrated/api_samples/os-keypairs/keypairs-get-resp.xml.tpl

Their API sample test cases are also written for list keypair APIs thats why those are being passed in test results. This issue is in both V2 and V3 APIs sample.

Solution-
We need to make this as list keypair and add new for get keypair API.