compute.keypairs package

Submodules

compute.keypairs.base module

class BaseKeypairTest(*args, **kwargs)[source]

Bases: tempest.api.compute.base.BaseV2ComputeTest

Base test case class for all keypair API tests.

compute.keypairs.test_keypairs module

class KeyPairsV2TestJSON(*args, **kwargs)[source]

Bases: tempest.api.compute.keypairs.base.BaseKeypairTest

Test keypairs API with compute microversion less than 2.2

test_get_keypair_detail()[source]

Test idempotent id: a4233d5d-52d8-47cc-9a25-e1864527e3df

Test getting keypair detail by keypair name

test_keypair_create_delete()[source]

Test idempotent id: 6c1d3123-4519-4742-9194-622cb1714b7d

Test create/delete keypair

test_keypair_create_with_pub_key()[source]

Test idempotent id: 39c90c6a-304a-49dd-95ec-2366129def05

Test creating keypair with a given public key

test_keypairs_create_list_delete()[source]

Test idempotent id: 1d1dbedb-d7a0-432a-9d09-83f543c3c19b

Test create/list/delete keypairs

Keypairs created should be available in the response list

compute.keypairs.test_keypairs_negative module

class KeyPairsNegativeTestJSON(*args, **kwargs)[source]

Bases: tempest.api.compute.keypairs.base.BaseKeypairTest

Negative tests of keypairs API

test_create_keypair_invalid_name()[source]

Test idempotent id: 45fbe5e0-acb5-49aa-837a-ff8d0719db91

Test keypairs with an invalid name should not be created

test_create_keypair_when_public_key_bits_exceeds_maximum()[source]

Test idempotent id: fc100c19-2926-4b9c-8fdc-d0589ee2f9ff

Test keypair should not be created when public key are too long

test_create_keypair_with_duplicate_name()[source]

Test idempotent id: 0359a7f1-f002-4682-8073-0c91e4011b7c

Test keypairs with duplicate names should not be created

test_create_keypair_with_empty_name_string()[source]

Test idempotent id: 1398abe1-4a84-45fb-9294-89f514daff00

Test keypairs with empty name should not be created

test_create_keypair_with_empty_public_key()[source]

Test idempotent id: dade320e-69ca-42a9-ba4a-345300f127e0

Test keypair should not be created with an empty public key

test_create_keypair_with_long_keynames()[source]

Test idempotent id: 3faa916f-779f-4103-aca7-dc3538eee1b7

Test keypairs with name longer than 255 should not be created

test_keypair_create_with_invalid_pub_key()[source]

Test idempotent id: 29cca892-46ae-4d48-bc32-8fe7e731eb81

Test keypair should not be created with a non RSA public key

test_keypair_delete_nonexistent_key()[source]

Test idempotent id: 7cc32e47-4c42-489d-9623-c5e2cb5a2fa5

Test non-existent key deletion should throw a proper error

compute.keypairs.test_keypairs_v22 module

class KeyPairsV22TestJSON(*args, **kwargs)[source]

Bases: tempest.api.compute.keypairs.test_keypairs.KeyPairsV2TestJSON

Test keypairs API with compute microversion greater than 2.1

test_keypairsv22_create_list_show()[source]

Test idempotent id: 8726fa85-7f98-4b20-af9e-f710a4f3391c

Test create/list/show keypair

test_keypairsv22_create_list_show_with_type()[source]

Test idempotent id: 89d59d43-f735-441a-abcf-0601727f47b6

Test create/list/show keypair with keypair type

Module contents