The nova.tests.api.openstack.test_wsgi Module

class ActionDispatcherTest(*args, **kwargs)

Bases: nova.test.TestCase

test_dispatch()
test_dispatch_action_None()
test_dispatch_default()
class DictSerializerTest(*args, **kwargs)

Bases: nova.test.TestCase

test_dispatch_default()
class JSONDeserializerTest(*args, **kwargs)

Bases: nova.test.TestCase

test_json()
class JSONDictSerializerTest(*args, **kwargs)

Bases: nova.test.TestCase

test_json()
class RequestTest(*args, **kwargs)

Bases: nova.test.TestCase

test_cache_and_retrieve_instances()
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(*args, **kwargs)

Bases: nova.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_corrupt_xml()
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_get_method_unknown_controller_method()
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_exception_handler_type_error()
test_resource_not_authorized()
class ResponseObjectTest(*args, **kwargs)

Bases: nova.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(*args, **kwargs)

Bases: nova.test.TestCase

test_dispatch_default()
class ValidBodyTest(*args, **kwargs)

Bases: nova.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(*args, **kwargs)

Bases: nova.test.TestCase

test_xml()
test_xml_empty()
class XMLDictSerializerTest(*args, **kwargs)

Bases: nova.test.TestCase

test_xml()

Previous topic

The nova.tests.api.openstack.test_faults Module

Next topic

The nova.tests.api.openstack.test_xmlutil Module

This Page