From b20a368daa581e3f649ac5a772da31cd09fdb484 Mon Sep 17 00:00:00 2001 From: spisarski Date: Mon, 30 Oct 2017 14:22:20 -0600 Subject: Added method to OpenStackHeatStack to return OpenStackFlavor objects. Continuation of the story SNAPS-153 for adding creator/state machine instances for OpenStack objects deployed via Heat. JIRA: SNAPS-174 Change-Id: I791e427efc487045c0f72cd836dabd9a66a4f60f Signed-off-by: spisarski --- docs/how-to-use/APITests.rst | 11 +++++++++++ docs/how-to-use/IntegrationTests.rst | 11 +++++++++++ docs/how-to-use/UnitTests.rst | 9 +++++++-- 3 files changed, 29 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/how-to-use/APITests.rst b/docs/how-to-use/APITests.rst index 9110162..ed4779a 100644 --- a/docs/how-to-use/APITests.rst +++ b/docs/how-to-use/APITests.rst @@ -473,6 +473,17 @@ heat_utils_tests.py - HeatUtilsKeypairTests | | | Keypair domain objects deployed with Heat | +---------------------------------------+---------------+-----------------------------------------------------------+ +heat_utils_tests.py - HeatUtilsFlavorTests +------------------------------------------ + ++---------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Heat API | Description | ++=======================================+===============+===========================================================+ +| test_create_flavor_with_stack | 1 | Tests ability of the function | +| | | heat_utils.get_stack_flavors() to return the correct | +| | | Flavor domain objects deployed with Heat | ++---------------------------------------+---------------+-----------------------------------------------------------+ + settings_utils_tests.py - SettingsUtilsNetworkingTests ------------------------------------------------------ diff --git a/docs/how-to-use/IntegrationTests.rst b/docs/how-to-use/IntegrationTests.rst index e00bc40..4772357 100644 --- a/docs/how-to-use/IntegrationTests.rst +++ b/docs/how-to-use/IntegrationTests.rst @@ -396,6 +396,17 @@ create_stack_tests.py - CreateStackVolumeTests | | | deploying | +---------------------------------------+---------------+-----------------------------------------------------------+ +create_stack_tests.py - CreateStackFlavorTests +---------------------------------------------- + ++---------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Heat API | Description | ++=======================================+===============+===========================================================+ +| test_retrieve_flavor_creator | 1 | Ensures that an OpenStackHeatStack instance can return a | +| | | OpenStackFlavor instance that it was responsible for | +| | | deploying | ++---------------------------------------+---------------+-----------------------------------------------------------+ + create_stack_tests.py - CreateStackKeypairTests ----------------------------------------------- diff --git a/docs/how-to-use/UnitTests.rst b/docs/how-to-use/UnitTests.rst index 3cb26db..4a360d4 100644 --- a/docs/how-to-use/UnitTests.rst +++ b/docs/how-to-use/UnitTests.rst @@ -294,11 +294,16 @@ VmInstDomainObjectTests Ensures that all required members are included when constructing a VmInst domain object -SettingsUtilsVolumeTests ------------------------- +SettingsUtilsUnitTests +---------------------- Ensures that the settings_utils.py#create_volume_settings() function properly maps a snaps.domain.Volume object correctly to a snaps.openstack.create_volume.VolumeSettings object as well as a snaps.domain.VolumeType object to a snaps.openstack.create_volume.VolumeSettings object + + +Ensures that the settings_utils.py#create_flavor_settings() function properly +maps a snaps.domain.Flavor object correctly to a +snaps.openstack.create_flavor.FlavorSettings object \ No newline at end of file -- cgit 1.2.3-korg