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
117 UserSettingsUnitTests
118 ---------------------
120 Ensures that all required members are included when constructing a
123 UserDomainObjectTests
124 ---------------------
126 Ensures that all required members are included when constructing a
129 ProjectConfigUnitTests
130 ----------------------
132 Ensures that all required members are included when constructing a
135 ProjectSettingsUnitTests
136 ------------------------
138 Ensures that all required members are included when constructing a
139 deprecated ProjectSettings object
141 ProjectDomainObjectTests
142 ------------------------
144 Ensures that all required members are included when constructing a
145 Project domain object
147 DomainDomainObjectTests
148 -----------------------
150 Ensures that all required members are included when constructing a
153 ComputeQuotasDomainObjectTests
154 ------------------------------
156 Ensures that all required members are included when constructing a
157 ComputeQuotas domain object
159 NetworkQuotasDomainObjectTests
160 ------------------------------
162 Ensures that all required members are included when constructing a
163 NetworkQuotas domain object
165 RoleDomainObjectTests
166 ---------------------
168 Ensures that all required members are included when constructing a
171 NetworkSettingsUnitTests
172 ------------------------
174 Ensures that all required members are included when constructing a
175 NetworkSettings object
180 Ensures that all required members are included when constructing a
181 Network domain object
183 SubnetSettingsUnitTests
184 -----------------------
186 Ensures that all required members are included when constructing a
187 SubnetSettings object
192 Ensures that all required members are included when constructing a
195 PortSettingsUnitTests
196 ---------------------
198 Ensures that all required members are included when constructing a
201 PortDomainObjectTests
202 ---------------------
204 Ensures that all required members are included when constructing a
207 RouterSettingsUnitTests
208 -----------------------
210 Ensures that all required members are included when constructing a
211 RouterSettings object
213 RouterDomainObjectTests
214 -----------------------
216 Ensures that all required members are included when constructing a
219 InterfaceRouterDomainObjectTests
220 --------------------------------
222 Ensures that all required members are included when constructing a
223 InterfaceRouter domain object
225 StackSettingsUnitTests
226 ----------------------
228 Ensures that all required members are included when constructing a
231 StackDomainObjectTests
232 ----------------------
234 Ensures that all required members are included when constructing a
235 Stack domain object (for Heat)
237 ResourceDomainObjectTests
238 -------------------------
240 Ensures that all required members are included when constructing a
241 Resource domain object (for Heat)
243 OutputDomainObjectTests
244 -----------------------
246 Ensures that all required members are included when constructing a
247 Output domain object (for Heat)
249 VolumeSettingsUnitTests
250 -----------------------
252 Ensures that all required members are included when constructing a
253 VolumeSettings object
255 VolumeDomainObjectTests
256 -----------------------
258 Ensures that all required members are included when constructing a
259 Volume domain object (for Cinder)
261 VolumeTypeSettingsUnitTests
262 ---------------------------
264 Ensures that all required members are included when constructing a
265 VolumeTypeSettings object
267 VolumeTypeDomainObjectTests
268 ---------------------------
270 Ensures that all required members are included when constructing a
271 VolumeType domain object (for Cinder)
273 VolumeTypeEncryptionObjectTests
274 -------------------------------
276 Ensures that all required members are included when constructing a
277 VolumeTypeEncryption domain object (for Cinder)
282 Ensures that all required members are included when constructing a
285 QoSSpecDomainObjectTests
286 ------------------------
288 Ensures that all required members are included when constructing a
289 QoSSpec domain object (for Cinder)
291 VolumeDomainObjectTests
292 -----------------------
294 Ensures that all required members are included when constructing a
295 Volume domain object (for Cinder)
297 FloatingIpSettingsUnitTests
298 ---------------------------
300 Ensures that all required members are included when constructing a
301 FloatingIpSettings object
303 FloatingIpDomainObjectTests
304 ---------------------------
306 Ensures that all required members are included when constructing a
307 FloatingIp domain object
309 VmInstanceSettingsUnitTests
310 ---------------------------
312 Ensures that all required members are included when constructing a
313 VmInstanceSettings object
315 VmInstDomainObjectTests
316 -----------------------
318 Ensures that all required members are included when constructing a
321 SettingsUtilsUnitTests
322 ----------------------
324 Ensures that the settings_utils.py#create_volume_settings() function properly
325 maps a snaps.domain.Volume object correctly to a
326 snaps.openstack.create_volume.VolumeSettings object as well as a
327 snaps.domain.VolumeType object to a
328 snaps.openstack.create_volume.VolumeSettings object
331 Ensures that the settings_utils.py#create_flavor_config() function properly
332 maps a snaps.domain.Flavor object correctly to a
333 snaps.config.flavor.FlavorConfig object