Previous topic

The cinder.tests.api.openstack.test_faults Module

Next topic

The cinder.tests.api.openstack.test_xmlutil 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.test_wsgi Module

class ActionDispatcherTest(methodName='runTest')

Bases: cinder.test.TestCase

test_dispatch()
test_dispatch_action_None()
test_dispatch_default()
class DictSerializerTest(methodName='runTest')

Bases: cinder.test.TestCase

test_dispatch_default()
class JSONDeserializerTest(methodName='runTest')

Bases: cinder.test.TestCase

test_json()
class JSONDictSerializerTest(methodName='runTest')

Bases: cinder.test.TestCase

test_json()
class RequestTest(methodName='runTest')

Bases: cinder.test.TestCase

test_content_type_accept_and_query_extension()
test_content_type_accept_default()
test_content_type_from_accept()
test_content_type_from_accept_best()
test_content_type_from_query_extension()
test_content_type_missing()
test_content_type_unsupported()
test_content_type_with_charset()
class ResourceTest(methodName='runTest')

Bases: cinder.test.TestCase

test_deserialize_badtype()
test_deserialize_decorator()
test_deserialize_default()
test_dispatch()
test_get_action_args()
test_get_body()
test_get_body_bad_content()
test_get_body_no_content_body()
test_get_body_no_content_type()
test_get_method_action_bad_body()
test_get_method_action_extensions()
test_get_method_action_json()
test_get_method_action_method()
test_get_method_action_whitelist_extensions()
test_get_method_action_xml()
test_get_method_extensions()
test_get_method_unknown_controller_action()
test_post_process_extensions_generator()
test_post_process_extensions_generator_response()
test_post_process_extensions_regular()
test_post_process_extensions_regular_response()
test_pre_process_extensions_generator()
test_pre_process_extensions_generator_response()
test_pre_process_extensions_regular()
test_register_actions()
test_register_extensions()
test_resource_call()
test_resource_not_authorized()
class ResponseObjectTest(methodName='runTest')

Bases: cinder.test.TestCase

test_bind_serializers()
test_default_code()
test_default_serializers()
test_del_header()
test_get_header()
test_get_serializer()
test_get_serializer_defaults()
test_header_isolation()
test_modified_code()
test_override_default_code()
test_override_modified_code()
test_serialize()
test_set_header()
class TextDeserializerTest(methodName='runTest')

Bases: cinder.test.TestCase

test_dispatch_default()
class ValidBodyTest(methodName='runTest')

Bases: cinder.test.TestCase

setUp()
test_is_valid_body()
test_is_valid_body_empty()
test_is_valid_body_malformed_entity()
test_is_valid_body_no_entity()
test_is_valid_body_none()
class XMLDeserializerTest(methodName='runTest')

Bases: cinder.test.TestCase

test_xml()
test_xml_empty()
class XMLDictSerializerTest(methodName='runTest')

Bases: cinder.test.TestCase

test_xml()