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 SecurityGroupRuleConfigUnitTests
40 --------------------------------
42 Ensures that all required members are included when constructing a
43 SecurityGroupRuleConfig object
45 SecurityGroupRuleSettingsUnitTests
46 ----------------------------------
48 Ensures that all required members are included when constructing a
49 deprecated SecurityGroupRuleSettings object
51 SecurityGroupRuleDomainObjectTests
52 ----------------------------------
54 Ensures that all required members are included when constructing a
55 SecurityGroupRule domain object
57 SecurityGroupConfigUnitTests
58 ----------------------------
60 Ensures that all required members are included when constructing a
61 SecuirtyGroupConfig object
63 SecurityGroupSettingsUnitTests
64 ------------------------------
66 Ensures that all required members are included when constructing a
67 deprecated SecuirtyGroupSettings object
69 SecurityGroupDomainObjectTests
70 ------------------------------
72 Ensures that all required members are included when constructing a
73 SecurityGroup domain object
78 Ensures that all required members are included when constructing a
81 ImageSettingsUnitTests
82 ----------------------
84 Ensures that all required members are included when constructing a
85 ImageSettings object (deprecated see ImageConfigUnitTests)
87 ImageDomainObjectTests
88 ----------------------
90 Ensures that all required members are included when constructing a
96 Ensures that all required members are included when constructing a
99 FlavorSettingsUnitTests
100 -----------------------
102 Ensures that all required members are included when constructing a
103 deprecated FlavorSettings object
105 FlavorDomainObjectTests
106 -----------------------
108 Ensures that all required members are included when constructing a
111 KeypairConfigUnitTests
112 ----------------------
114 Ensures that all required members are included when constructing a
117 KeypairSettingsUnitTests
118 ------------------------
120 Ensures that all required members are included when constructing a
121 deprecated KeypairSettings object
123 KeypairDomainObjectTests
124 ------------------------
126 Ensures that all required members are included when constructing a
127 Keypair domain object
132 Ensures that all required members are included when constructing a
135 UserSettingsUnitTests
136 ---------------------
138 Ensures that all required members are included when constructing a
139 deprecated UserSettings object
141 UserDomainObjectTests
142 ---------------------
144 Ensures that all required members are included when constructing a
147 ProjectConfigUnitTests
148 ----------------------
150 Ensures that all required members are included when constructing a
153 ProjectSettingsUnitTests
154 ------------------------
156 Ensures that all required members are included when constructing a
157 deprecated ProjectSettings object
159 ProjectDomainObjectTests
160 ------------------------
162 Ensures that all required members are included when constructing a
163 Project domain object
165 DomainDomainObjectTests
166 -----------------------
168 Ensures that all required members are included when constructing a
171 ComputeQuotasDomainObjectTests
172 ------------------------------
174 Ensures that all required members are included when constructing a
175 ComputeQuotas domain object
177 NetworkQuotasDomainObjectTests
178 ------------------------------
180 Ensures that all required members are included when constructing a
181 NetworkQuotas domain object
183 RoleDomainObjectTests
184 ---------------------
186 Ensures that all required members are included when constructing a
189 NetworkConfigUnitTests
190 ----------------------
192 Ensures that all required members are included when constructing a
195 NetworkSettingsUnitTests
196 ------------------------
198 Ensures that all required members are included when constructing a
199 deprecated NetworkSettings object
204 Ensures that all required members are included when constructing a
205 Network domain object
207 SubnetConfigUnitTests
208 ---------------------
210 Ensures that all required members are included when constructing a
213 SubnetSettingsUnitTests
214 -----------------------
216 Ensures that all required members are included when constructing a
217 deprecated SubnetSettings object
222 Ensures that all required members are included when constructing a
228 Ensures that all required members are included when constructing a
231 PortSettingsUnitTests
232 ---------------------
234 Ensures that all required members are included when constructing a
235 deprecated PortSettings object
237 PortDomainObjectTests
238 ---------------------
240 Ensures that all required members are included when constructing a
243 RouterConfigUnitTests
244 ---------------------
246 Ensures that all required members are included when constructing a
249 RouterSettingsUnitTests
250 -----------------------
252 Ensures that all required members are included when constructing a
253 deprecated RouterSettings object
255 RouterDomainObjectTests
256 -----------------------
258 Ensures that all required members are included when constructing a
261 InterfaceRouterDomainObjectTests
262 --------------------------------
264 Ensures that all required members are included when constructing a
265 InterfaceRouter domain object
270 Ensures that all required members are included when constructing a
273 StackSettingsUnitTests
274 ----------------------
276 Ensures that all required members are included when constructing a
277 deprecated StackSettings object
279 StackDomainObjectTests
280 ----------------------
282 Ensures that all required members are included when constructing a
283 Stack domain object (for Heat)
285 ResourceDomainObjectTests
286 -------------------------
288 Ensures that all required members are included when constructing a
289 Resource domain object (for Heat)
291 OutputDomainObjectTests
292 -----------------------
294 Ensures that all required members are included when constructing a
295 Output domain object (for Heat)
297 VolumeConfigUnitTests
298 ---------------------
300 Ensures that all required members are included when constructing a
303 VolumeSettingsUnitTests
304 -----------------------
306 Ensures that all required members are included when constructing a
307 deprecated VolumeSettings object
309 VolumeDomainObjectTests
310 -----------------------
312 Ensures that all required members are included when constructing a
313 Volume domain object (for Cinder)
315 VolumeTypeConfigUnitTests
316 -------------------------
318 Ensures that all required members are included when constructing a
319 VolumeTypeConfig object
321 VolumeTypeSettingsUnitTests
322 ---------------------------
324 Ensures that all required members are included when constructing a
325 deprecated VolumeTypeSettings object
327 VolumeTypeDomainObjectTests
328 ---------------------------
330 Ensures that all required members are included when constructing a
331 VolumeType domain object (for Cinder)
333 VolumeTypeEncryptionObjectTests
334 -------------------------------
336 Ensures that all required members are included when constructing a
337 VolumeTypeEncryption domain object (for Cinder)
342 Ensures that all required members are included when constructing a
348 Ensures that all required members are included when constructing a
349 deprecated QoSSettings object
351 QoSSpecDomainObjectTests
352 ------------------------
354 Ensures that all required members are included when constructing a
355 QoSSpec domain object (for Cinder)
357 VolumeDomainObjectTests
358 -----------------------
360 Ensures that all required members are included when constructing a
361 Volume domain object (for Cinder)
363 FloatingIpConfigUnitTests
364 -------------------------
366 Ensures that all required members are included when constructing a
367 FloatingIpConfig object
369 FloatingIpSettingsUnitTests
370 ---------------------------
372 Ensures that all required members are included when constructing a
373 depecated FloatingIpSettings object
375 FloatingIpDomainObjectTests
376 ---------------------------
378 Ensures that all required members are included when constructing a
379 FloatingIp domain object
381 VmInstanceConfigUnitTests
382 -------------------------
384 Ensures that all required members are included when constructing a
385 VmInstanceConfig object
387 VmInstanceSettingsUnitTests
388 ---------------------------
390 Ensures that all required members are included when constructing a
391 deprecated VmInstanceSettings object
393 VmInstDomainObjectTests
394 -----------------------
396 Ensures that all required members are included when constructing a
399 ClusterTemplateConfigUnitTests
400 ------------------------------
402 Ensures that all required members are included when constructing a
403 ClusterTemplateConfig object
405 ClusterTemplateUnitTests
406 ------------------------
408 Ensures that all required members are included when constructing a
409 ClusterTemplate object
411 SettingsUtilsUnitTests
412 ----------------------
414 Ensures that the settings_utils.py#create_volume_config() function properly
415 maps a snaps.domain.Volume object correctly to a
416 snaps.config.volume.VolumeConfig object as well as a
417 snaps.domain.VolumeType object to a
418 snaps.config.volume.VolumeConfig object
421 Ensures that the settings_utils.py#create_flavor_config() function properly
422 maps a snaps.domain.Flavor object correctly to a
423 snaps.config.flavor.FlavorConfig object