summaryrefslogtreecommitdiffstats
path: root/docs/how-to-use/UnitTests.rst
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-11-17 14:54:46 -0700
committerspisarski <s.pisarski@cablelabs.com>2017-11-20 10:36:28 -0700
commit1d7f4a18cf4a070570beccbb46303f5822840c41 (patch)
treea17c6b16bfc508a34b3c5a6e5bca2843efdb4ac2 /docs/how-to-use/UnitTests.rst
parent3c387ae1c18c4a80a752c3e5a2409f4a602b9e20 (diff)
Refactoring of VolumeSettings to extend VolumeConfig
VolumeSettings and cinder_utils have a runtime cyclical dependency. This patch reduces this dependency and deprecates the VolumeSettings class. JIRA: SNAPS-227 Change-Id: I3f93702ff836af365c811d44bfd0e59b76c3f1f5 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.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/how-to-use/UnitTests.rst b/docs/how-to-use/UnitTests.rst
index 74404fa..044503e 100644
--- a/docs/how-to-use/UnitTests.rst
+++ b/docs/how-to-use/UnitTests.rst
@@ -264,11 +264,17 @@ OutputDomainObjectTests
Ensures that all required members are included when constructing a
Output domain object (for Heat)
+VolumeConfigUnitTests
+---------------------
+
+Ensures that all required members are included when constructing a
+VolumeConfig object
+
VolumeSettingsUnitTests
-----------------------
Ensures that all required members are included when constructing a
-VolumeSettings object
+deprecated VolumeSettings object
VolumeDomainObjectTests
-----------------------
@@ -351,11 +357,11 @@ VmInst domain object
SettingsUtilsUnitTests
----------------------
-Ensures that the settings_utils.py#create_volume_settings() function properly
+Ensures that the settings_utils.py#create_volume_config() function properly
maps a snaps.domain.Volume object correctly to a
-snaps.openstack.create_volume.VolumeSettings object as well as a
+snaps.config.volume.VolumeConfig object as well as a
snaps.domain.VolumeType object to a
-snaps.openstack.create_volume.VolumeSettings object
+snaps.config.volume.VolumeConfig object
Ensures that the settings_utils.py#create_flavor_config() function properly