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 KeypairConfigUnitTests
100 ----------------------
102 Ensures that all required members are included when constructing a
105 KeypairSettingsUnitTests
106 ------------------------
108 Ensures that all required members are included when constructing a
109 deprecated KeypairSettings object
111 KeypairDomainObjectTests
112 ------------------------
114 Ensures that all required members are included when constructing a
115 Keypair domain object
120 Ensures that all required members are included when constructing a
123 UserSettingsUnitTests
124 ---------------------
126 Ensures that all required members are included when constructing a
127 deprecated UserSettings object
129 UserDomainObjectTests
130 ---------------------
132 Ensures that all required members are included when constructing a
135 ProjectConfigUnitTests
136 ----------------------
138 Ensures that all required members are included when constructing a
141 ProjectSettingsUnitTests
142 ------------------------
144 Ensures that all required members are included when constructing a
145 deprecated ProjectSettings object
147 ProjectDomainObjectTests
148 ------------------------
150 Ensures that all required members are included when constructing a
151 Project domain object
153 DomainDomainObjectTests
154 -----------------------
156 Ensures that all required members are included when constructing a
159 ComputeQuotasDomainObjectTests
160 ------------------------------
162 Ensures that all required members are included when constructing a
163 ComputeQuotas domain object
165 NetworkQuotasDomainObjectTests
166 ------------------------------
168 Ensures that all required members are included when constructing a
169 NetworkQuotas domain object
171 RoleDomainObjectTests
172 ---------------------
174 Ensures that all required members are included when constructing a
177 NetworkConfigUnitTests
178 ----------------------
180 Ensures that all required members are included when constructing a
183 NetworkSettingsUnitTests
184 ------------------------
186 Ensures that all required members are included when constructing a
187 deprecated NetworkSettings object
192 Ensures that all required members are included when constructing a
193 Network domain object
195 SubnetConfigUnitTests
196 ---------------------
198 Ensures that all required members are included when constructing a
201 SubnetSettingsUnitTests
202 -----------------------
204 Ensures that all required members are included when constructing a
205 deprecated SubnetSettings object
210 Ensures that all required members are included when constructing a
216 Ensures that all required members are included when constructing a
219 PortSettingsUnitTests
220 ---------------------
222 Ensures that all required members are included when constructing a
223 deprecated PortSettings object
225 PortDomainObjectTests
226 ---------------------
228 Ensures that all required members are included when constructing a
231 RouterConfigUnitTests
232 ---------------------
234 Ensures that all required members are included when constructing a
237 RouterSettingsUnitTests
238 -----------------------
240 Ensures that all required members are included when constructing a
241 deprecated RouterSettings object
243 RouterDomainObjectTests
244 -----------------------
246 Ensures that all required members are included when constructing a
249 InterfaceRouterDomainObjectTests
250 --------------------------------
252 Ensures that all required members are included when constructing a
253 InterfaceRouter domain object
258 Ensures that all required members are included when constructing a
261 StackSettingsUnitTests
262 ----------------------
264 Ensures that all required members are included when constructing a
265 deprecated StackSettings object
267 StackDomainObjectTests
268 ----------------------
270 Ensures that all required members are included when constructing a
271 Stack domain object (for Heat)
273 ResourceDomainObjectTests
274 -------------------------
276 Ensures that all required members are included when constructing a
277 Resource domain object (for Heat)
279 OutputDomainObjectTests
280 -----------------------
282 Ensures that all required members are included when constructing a
283 Output domain object (for Heat)
285 VolumeConfigUnitTests
286 ---------------------
288 Ensures that all required members are included when constructing a
291 VolumeSettingsUnitTests
292 -----------------------
294 Ensures that all required members are included when constructing a
295 deprecated VolumeSettings object
297 VolumeDomainObjectTests
298 -----------------------
300 Ensures that all required members are included when constructing a
301 Volume domain object (for Cinder)
303 VolumeTypeConfigUnitTests
304 -------------------------
306 Ensures that all required members are included when constructing a
307 VolumeTypeConfig object
309 VolumeTypeSettingsUnitTests
310 ---------------------------
312 Ensures that all required members are included when constructing a
313 deprecated VolumeTypeSettings object
315 VolumeTypeDomainObjectTests
316 ---------------------------
318 Ensures that all required members are included when constructing a
319 VolumeType domain object (for Cinder)
321 VolumeTypeEncryptionObjectTests
322 -------------------------------
324 Ensures that all required members are included when constructing a
325 VolumeTypeEncryption domain object (for Cinder)
330 Ensures that all required members are included when constructing a
336 Ensures that all required members are included when constructing a
337 deprecated QoSSettings object
339 QoSSpecDomainObjectTests
340 ------------------------
342 Ensures that all required members are included when constructing a
343 QoSSpec domain object (for Cinder)
345 VolumeDomainObjectTests
346 -----------------------
348 Ensures that all required members are included when constructing a
349 Volume domain object (for Cinder)
351 FloatingIpSettingsUnitTests
352 ---------------------------
354 Ensures that all required members are included when constructing a
355 FloatingIpSettings object
357 FloatingIpDomainObjectTests
358 ---------------------------
360 Ensures that all required members are included when constructing a
361 FloatingIp domain object
363 VmInstanceSettingsUnitTests
364 ---------------------------
366 Ensures that all required members are included when constructing a
367 VmInstanceSettings object
369 VmInstDomainObjectTests
370 -----------------------
372 Ensures that all required members are included when constructing a
375 SettingsUtilsUnitTests
376 ----------------------
378 Ensures that the settings_utils.py#create_volume_config() function properly
379 maps a snaps.domain.Volume object correctly to a
380 snaps.config.volume.VolumeConfig object as well as a
381 snaps.domain.VolumeType object to a
382 snaps.config.volume.VolumeConfig object
385 Ensures that the settings_utils.py#create_flavor_config() function properly
386 maps a snaps.domain.Flavor object correctly to a
387 snaps.config.flavor.FlavorConfig object