4 | Tests designated as Unit tests extend the unittest.TestCase class and
5 can be exercised without any external resources
6 | other than the filesystem. Most of these tests simply ensure that the
7 configuration settings classes check their
8 | constructor arguments properly.
16 - testFileIsDirectory - ensures that the expected path is a directory
17 - testFileNotExist - ensures that a file that does not exist returns
19 - testFileExists - ensures that a file that does exist returns True
20 - testDownloadBadUrl - ensures that an Exception is thrown when
21 attempting to download a file with a bad URL
22 - testCirrosImageDownload - ensures that the Cirros image can be
24 - testReadOSEnvFile - ensures that an OpenStack RC file can be properly
27 ProxySettingsUnitTests
28 ----------------------
30 Ensures that all required members are included when constructing a
36 Ensures that all required members are included when constructing a
39 SecurityGroupRuleSettingsUnitTests
40 ----------------------------------
42 Ensures that all required members are included when constructing a
43 SecurityGroupRuleSettings object
45 SecurityGroupRuleDomainObjectTests
46 ----------------------------------
48 Ensures that all required members are included when constructing a
49 SecurityGroupRule domain object
51 SecurityGroupSettingsUnitTests
52 ------------------------------
54 Ensures that all required members are included when constructing a
55 SecuirtyGroupSettings object
57 SecurityGroupDomainObjectTests
58 ------------------------------
60 Ensures that all required members are included when constructing a
61 SecurityGroup domain object
66 Ensures that all required members are included when constructing a
69 ImageSettingsUnitTests
70 ----------------------
72 Ensures that all required members are included when constructing a
73 ImageSettings object (deprecated see ImageConfigUnitTests)
75 ImageDomainObjectTests
76 ----------------------
78 Ensures that all required members are included when constructing a
84 Ensures that all required members are included when constructing a
87 FlavorSettingsUnitTests
88 -----------------------
90 Ensures that all required members are included when constructing a
91 deprecated FlavorSettings object
93 FlavorDomainObjectTests
94 -----------------------
96 Ensures that all required members are included when constructing a
99 KeypairSettingsUnitTests
100 ------------------------
102 Ensures that all required members are included when constructing a
103 KeypairSettings object
105 KeypairDomainObjectTests
106 ------------------------
108 Ensures that all required members are included when constructing a
109 Keypair domain object
111 UserSettingsUnitTests
112 ---------------------
114 Ensures that all required members are included when constructing a
117 UserDomainObjectTests
118 ---------------------
120 Ensures that all required members are included when constructing a
123 ProjectSettingsUnitTests
124 ------------------------
126 Ensures that all required members are included when constructing a
127 ProjectSettings object
129 ProjectDomainObjectTests
130 ------------------------
132 Ensures that all required members are included when constructing a
133 Project domain object
135 DomainDomainObjectTests
136 -----------------------
138 Ensures that all required members are included when constructing a
141 ComputeQuotasDomainObjectTests
142 ------------------------------
144 Ensures that all required members are included when constructing a
145 ComputeQuotas domain object
147 NetworkQuotasDomainObjectTests
148 ------------------------------
150 Ensures that all required members are included when constructing a
151 NetworkQuotas domain object
153 RoleDomainObjectTests
154 ---------------------
156 Ensures that all required members are included when constructing a
159 NetworkSettingsUnitTests
160 ------------------------
162 Ensures that all required members are included when constructing a
163 NetworkSettings object
168 Ensures that all required members are included when constructing a
169 Network domain object
171 SubnetSettingsUnitTests
172 -----------------------
174 Ensures that all required members are included when constructing a
175 SubnetSettings object
180 Ensures that all required members are included when constructing a
183 PortSettingsUnitTests
184 ---------------------
186 Ensures that all required members are included when constructing a
189 PortDomainObjectTests
190 ---------------------
192 Ensures that all required members are included when constructing a
195 RouterSettingsUnitTests
196 -----------------------
198 Ensures that all required members are included when constructing a
199 RouterSettings object
201 RouterDomainObjectTests
202 -----------------------
204 Ensures that all required members are included when constructing a
207 InterfaceRouterDomainObjectTests
208 --------------------------------
210 Ensures that all required members are included when constructing a
211 InterfaceRouter domain object
213 StackSettingsUnitTests
214 ----------------------
216 Ensures that all required members are included when constructing a
219 StackDomainObjectTests
220 ----------------------
222 Ensures that all required members are included when constructing a
223 Stack domain object (for Heat)
225 ResourceDomainObjectTests
226 -------------------------
228 Ensures that all required members are included when constructing a
229 Resource domain object (for Heat)
231 OutputDomainObjectTests
232 -----------------------
234 Ensures that all required members are included when constructing a
235 Output domain object (for Heat)
237 VolumeSettingsUnitTests
238 -----------------------
240 Ensures that all required members are included when constructing a
241 VolumeSettings object
243 VolumeDomainObjectTests
244 -----------------------
246 Ensures that all required members are included when constructing a
247 Volume domain object (for Cinder)
249 VolumeTypeSettingsUnitTests
250 ---------------------------
252 Ensures that all required members are included when constructing a
253 VolumeTypeSettings object
255 VolumeTypeDomainObjectTests
256 ---------------------------
258 Ensures that all required members are included when constructing a
259 VolumeType domain object (for Cinder)
261 VolumeTypeEncryptionObjectTests
262 -------------------------------
264 Ensures that all required members are included when constructing a
265 VolumeTypeEncryption domain object (for Cinder)
270 Ensures that all required members are included when constructing a
273 QoSSpecDomainObjectTests
274 ------------------------
276 Ensures that all required members are included when constructing a
277 QoSSpec domain object (for Cinder)
279 VolumeDomainObjectTests
280 -----------------------
282 Ensures that all required members are included when constructing a
283 Volume domain object (for Cinder)
285 FloatingIpSettingsUnitTests
286 ---------------------------
288 Ensures that all required members are included when constructing a
289 FloatingIpSettings object
291 FloatingIpDomainObjectTests
292 ---------------------------
294 Ensures that all required members are included when constructing a
295 FloatingIp domain object
297 VmInstanceSettingsUnitTests
298 ---------------------------
300 Ensures that all required members are included when constructing a
301 VmInstanceSettings object
303 VmInstDomainObjectTests
304 -----------------------
306 Ensures that all required members are included when constructing a
309 SettingsUtilsUnitTests
310 ----------------------
312 Ensures that the settings_utils.py#create_volume_settings() function properly
313 maps a snaps.domain.Volume object correctly to a
314 snaps.openstack.create_volume.VolumeSettings object as well as a
315 snaps.domain.VolumeType object to a
316 snaps.openstack.create_volume.VolumeSettings object
319 Ensures that the settings_utils.py#create_flavor_config() function properly
320 maps a snaps.domain.Flavor object correctly to a
321 snaps.config.flavor.FlavorConfig object