summaryrefslogtreecommitdiffstats
path: root/docs/how-to-use/UnitTests.rst
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-10-27 14:06:01 -0600
committerspisarski <s.pisarski@cablelabs.com>2017-10-27 15:55:54 -0600
commit6b7307374f6cfcad9eec8986aba8fdd8e08c8574 (patch)
treeebecca41a486b735d116fd2abc997c7b24ff6dff /docs/how-to-use/UnitTests.rst
parent08ebe69c1d2e29aa02efd59f58dbbc0be4f9cd37 (diff)
Return OpenStackVolume and OpenStackVolumeType instances from heat.
Added a methods to OpenStackHeatStack to return any OpenStackVolume and OpenStackVolumeType objects it was responsible for spawning. Changes include all of the necessary changes to the heat and settings utilities and associated tests. JIRA: SNAPS-199, SNAPS-200 Change-Id: I6da4bce1e90f080e22c96ab1b46eca8b85991ebf Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'docs/how-to-use/UnitTests.rst')
-rw-r--r--docs/how-to-use/UnitTests.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/how-to-use/UnitTests.rst b/docs/how-to-use/UnitTests.rst
index f6f52b5..3cb26db 100644
--- a/docs/how-to-use/UnitTests.rst
+++ b/docs/how-to-use/UnitTests.rst
@@ -293,3 +293,12 @@ VmInstDomainObjectTests
Ensures that all required members are included when constructing a
VmInst domain object
+
+SettingsUtilsVolumeTests
+------------------------
+
+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