The nova.tests.api.openstack.compute.test_images Module

Tests of the new image services, both as a service layer, and as a WSGI layer

class ImageXMLSerializationTest(*args, **kwargs)

Bases: nova.test.TestCase

IMAGE_BOOKMARK = 'http://localhost/fake/images/%s'
IMAGE_HREF = 'http://localhost/v2/fake/images/%s'
IMAGE_NEXT = 'http://localhost/v2/fake/images?limit=%s&marker=%s'
SERVER_BOOKMARK = 'http://localhost/fake/servers/aa640691-d1a7-4a67-9d3c-d35ee6b3cc74'
SERVER_HREF = 'http://localhost/v2/fake/servers/aa640691-d1a7-4a67-9d3c-d35ee6b3cc74'
SERVER_UUID = 'aa640691-d1a7-4a67-9d3c-d35ee6b3cc74'
TIMESTAMP = '2010-10-11T10:30:22Z'
test_detail()
test_index()
test_index_zero_images()
test_show()
test_show_image_no_metadata_key()
test_show_no_server()
test_show_with_min_disk()
test_show_with_min_ram()
test_show_zero_metadata()
test_xml_declaration()
class ImagesControllerTest(*args, **kwargs)

Bases: nova.test.TestCase

Test of the OpenStack API /images application controller w/Glance.

setUp()

Run before each test.

test_delete_deleted_image()

If you try to delete a deleted image, you get back 403 Forbidden.

test_delete_image()
test_delete_image_not_found()
test_get_image()
test_get_image_404()
test_get_image_details()
test_get_image_details_with_limit()
test_get_image_with_custom_prefix()
test_image_detail_filter_changes_since()
test_image_detail_filter_not_supported()
test_image_detail_filter_server_href()
test_image_detail_filter_server_uuid()
test_image_detail_filter_with_name()
test_image_detail_filter_with_property()
test_image_detail_filter_with_status()
test_image_detail_filter_with_type()
test_image_detail_invalid_marker()
test_image_detail_no_filters()

Previous topic

The nova.tests.api.openstack.compute.test_image_metadata Module

Next topic

The nova.tests.api.openstack.compute.test_limits Module

This Page