Previous topic

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

Next topic

The cinder.tests.api.openstack.volume.test_types 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_snapshots Module

class SnapshotApiTest(methodName='runTest')

Bases: cinder.test.TestCase

setUp()
test_admin_list_snapshots_all_tenants()
test_admin_list_snapshots_limited_to_project()
test_all_tenants_non_admin_gets_all_tenants()
test_non_admin_get_by_project()
test_snapshot_create()
test_snapshot_create_force()
test_snapshot_delete()
test_snapshot_delete_invalid_id()
test_snapshot_detail()
test_snapshot_list_by_name()
test_snapshot_list_by_status()
test_snapshot_list_by_volume()
test_snapshot_show()
test_snapshot_show_invalid_id()
class SnapshotSerializerTest(methodName='runTest')

Bases: cinder.test.TestCase

test_snapshot_index_detail_serializer()
test_snapshot_show_create_serializer()
class SnapshotsUnprocessableEntityTestCase(methodName='runTest')

Bases: cinder.test.TestCase

Tests of places we throw 422 Unprocessable Entity from

setUp()
test_create_malformed_entity()
test_create_missing_snapshot()
test_create_no_body()
stub_snapshot_create(self, context, volume_id, name, description)
stub_snapshot_delete(self, context, snapshot)
stub_snapshot_get(self, context, snapshot_id)
stub_snapshot_get_all(self, context, search_opts=None)