compute.flavors package

Submodules

compute.flavors.test_flavors module

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

Bases: BaseV2ComputeTest

Tests Flavors

test_get_flavor()[source]

Test idempotent id: 1f12046b-753d-40d2-abb6-d8eb8b30cb2f

The expected flavor details should be returned

test_list_flavors()[source]

Test idempotent id: e36c0eaa-dff5-4082-ad1f-3f9a80aa3f59

List of all flavors should contain the expected flavor

test_list_flavors_detailed_filter_by_min_disk()[source]

Test idempotent id: 3df2743e-3034-4e57-a4cb-b6527f6eac79

The detailed list of flavors should be filtered by disk space

test_list_flavors_detailed_filter_by_min_ram()[source]

Test idempotent id: 09fe7509-b4ee-4b34-bf8b-39532dc47292

The detailed list of flavors should be filtered by RAM

test_list_flavors_detailed_limit_results()[source]

Test idempotent id: b26f6327-2886-467a-82be-cef7a27709cb

Only the expected number of flavors(detailed) should be returned

test_list_flavors_detailed_using_marker()[source]

Test idempotent id: 6db2f0c0-ddee-4162-9c84-0703d3dd1107

The list of flavors should start from the provided marker

test_list_flavors_filter_by_min_disk()[source]

Test idempotent id: 10645a4d-96f5-443f-831b-730711e11dd4

The list of flavors should be filtered by disk space

test_list_flavors_filter_by_min_ram()[source]

Test idempotent id: 935cf550-e7c8-4da6-8002-00f92d5edfaa

The list of flavors should be filtered by RAM

test_list_flavors_limit_results()[source]

Test idempotent id: 8d7691b3-6ed4-411a-abc9-2839a765adab

Only the expected number of flavors should be returned

test_list_flavors_using_marker()[source]

Test idempotent id: e800f879-9828-4bd0-8eae-4f17189951fb

The list of flavors should start from the provided marker

test_list_flavors_with_detail()[source]

Test idempotent id: 6e85fde4-b3cd-4137-ab72-ed5f418e8c24

Detailed list of all flavors should contain the expected flavor

compute.flavors.test_flavors_negative module

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

Bases: BaseV2ComputeTest

test_boot_with_low_ram()[source]

Test idempotent id: 90f0d93a-91c1-450c-91e6-07d18172cefe

Try boot a vm with lower than min ram

Create an image with min_ram value Try to create server with flavor of insufficient ram size from that image

Module contents