Previous topic

The cinder.tests.api.openstack.volume.test_types Module

Next topic

The cinder.tests.api.test_auth Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.tests.api.openstack.volume.test_volumes Module

class TestVolumeCreateRequestXMLDeserializer(methodName='runTest')

Bases: cinder.test.TestCase

setUp()
test_availability_zone()
test_display_description()
test_display_name()
test_full_volume()
test_metadata()
test_minimal_volume()
test_volume_type()
class VolumeApiTest(methodName='runTest')

Bases: cinder.test.TestCase

setUp()
test_admin_list_volumes_all_tenants()
test_admin_list_volumes_limited_to_project()
test_all_tenants_non_admin_gets_all_tenants()
test_non_admin_get_by_project()
test_volume_create()
test_volume_create_with_image_id()
test_volume_create_with_image_id_and_snapshot_id()
test_volume_create_with_image_id_is_integer()
test_volume_create_with_image_id_not_uuid_format()
test_volume_creation_fails_with_bad_size()
test_volume_delete()
test_volume_delete_no_volume()
test_volume_list()
test_volume_list_by_name()
test_volume_list_by_status()
test_volume_list_detail()
test_volume_show()
test_volume_show_no_attachments()
test_volume_show_no_volume()
class VolumeSerializerTest(methodName='runTest')

Bases: cinder.test.TestCase

test_volume_index_detail_serializer()
test_volume_show_create_serializer()
class VolumesUnprocessableEntityTestCase(methodName='runTest')

Bases: cinder.test.TestCase

Tests of places we throw 422 Unprocessable Entity from

setUp()
test_create_malformed_entity()
test_create_missing_volume()
test_create_no_body()
stub_snapshot_get(self, context, snapshot_id)