The nova.tests.image_fixtures Module

get_image_fixtures()

Returns a set of image fixture dicts for use in unit tests.

Returns a set of dicts representing images/snapshots of varying statuses that would be returned from a call to glanceclient.client.Client.images.list. The IDs of the images returned start at 123 and go to 131, with the following brief summary of image attributes:

ID Type Status Notes
———————————————————-
123 Public image active
124 Snapshot queued
125 Snapshot saving
126 Snapshot active
127 Snapshot killed
128 Snapshot deleted
129 Snapshot pending_delete
130 Public image active Has no name

Previous topic

The nova.tests.image.test_transfer_modules Module

Next topic

The nova.tests.integrated.api.client Module

This Page