The nova.tests.api.openstack.volume.test_snapshots Module

class SnapshotApiTest(methodName='runTest')

Bases: nova.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_show()
test_snapshot_show_invalid_id()
class SnapshotSerializerTest(methodName='runTest')

Bases: nova.test.TestCase

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

Bases: nova.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)

Previous topic

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

Next topic

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

This Page