Merge "trivial: Rename directory for os-keypairs samples"
This commit is contained in:
commit
f3abaf4bec
@ -41,7 +41,7 @@ Response
|
||||
|
||||
**Example List Keypairs (v2.35): JSON response**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/keypairs/v2.35/keypairs-list-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-keypairs/v2.35/keypairs-list-resp.json
|
||||
:language: javascript
|
||||
|
||||
Create Or Import Keypair
|
||||
@ -72,7 +72,7 @@ Request
|
||||
|
||||
**Example Create Or Import Keypair (v2.10): JSON request**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/keypairs/v2.10/keypairs-import-post-req.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-keypairs/v2.10/keypairs-import-post-req.json
|
||||
:language: javascript
|
||||
|
||||
Response
|
||||
@ -90,7 +90,7 @@ Response
|
||||
|
||||
**Example Create Or Import Keypair (v2.10): JSON response**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/keypairs/v2.10/keypairs-import-post-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-keypairs/v2.10/keypairs-import-post-resp.json
|
||||
:language: javascript
|
||||
|
||||
Show Keypair Details
|
||||
@ -131,7 +131,7 @@ Response
|
||||
|
||||
**Example Show Keypair Details (v2.10): JSON response**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/keypairs/v2.10/keypairs-get-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-keypairs/v2.10/keypairs-get-resp.json
|
||||
:language: javascript
|
||||
|
||||
Delete Keypair
|
||||
|
@ -23,7 +23,7 @@ from nova.tests.unit import fake_crypto
|
||||
|
||||
class KeyPairsSampleJsonTest(api_sample_base.ApiSampleTestBaseV21):
|
||||
microversion = None
|
||||
sample_dir = "keypairs"
|
||||
sample_dir = 'os-keypairs'
|
||||
expected_delete_status_code = 202
|
||||
expected_post_status_code = 200
|
||||
|
||||
@ -246,7 +246,7 @@ class KeyPairsV210SampleJsonTestNotAdmin(KeyPairsV210SampleJsonTest):
|
||||
|
||||
class KeyPairsV235SampleJsonTest(api_sample_base.ApiSampleTestBaseV21):
|
||||
ADMIN_API = True
|
||||
sample_dir = "keypairs"
|
||||
sample_dir = 'os-keypairs'
|
||||
microversion = '2.35'
|
||||
expected_post_status_code = 201
|
||||
scenarios = [('v2_35', {'api_major_version': 'v2.1'})]
|
||||
|
Loading…
x
Reference in New Issue
Block a user