This Page

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

The nova.tests.api.openstack.test_wsgi Module

class nova.tests.api.openstack.test_wsgi.ActionDispatcherTest(methodName='runTest')

Bases: nova.test.TestCase

test_dispatch()
test_dispatch_action_None()
test_dispatch_default()
class nova.tests.api.openstack.test_wsgi.DictSerializerTest(methodName='runTest')

Bases: nova.test.TestCase

test_dispatch_default()
class nova.tests.api.openstack.test_wsgi.JSONDeserializerTest(methodName='runTest')

Bases: nova.test.TestCase

test_json()
class nova.tests.api.openstack.test_wsgi.JSONDictSerializerTest(methodName='runTest')

Bases: nova.test.TestCase

test_json()
class nova.tests.api.openstack.test_wsgi.RequestDeserializerTest(methodName='runTest')

Bases: nova.test.TestCase

setUp()
tearDown()
test_deserialize()
test_get_action_args()
test_get_deserializer()
test_get_deserializer_unknown_content_type()
test_get_expected_content_type()
class nova.tests.api.openstack.test_wsgi.RequestHeadersDeserializerTest(methodName='runTest')

Bases: nova.test.TestCase

test_custom()
test_default()
class nova.tests.api.openstack.test_wsgi.RequestTest(methodName='runTest')

Bases: nova.test.TestCase

test_content_type_accept_and_query_extension()
test_content_type_accept_default()
test_content_type_from_accept_xml()
test_content_type_from_query_extension()
test_content_type_missing()
test_content_type_unsupported()
test_content_type_with_charset()
class nova.tests.api.openstack.test_wsgi.ResourceTest(methodName='runTest')

Bases: nova.test.TestCase

test_dispatch()
test_dispatch_unknown_controller_action()
class nova.tests.api.openstack.test_wsgi.ResponseHeadersSerializerTest(methodName='runTest')

Bases: nova.test.TestCase

test_custom()
test_default()
class nova.tests.api.openstack.test_wsgi.ResponseSerializerTest(methodName='runTest')

Bases: nova.test.TestCase

setUp()
tearDown()
test_get_serializer()
test_get_serializer_unknown_content_type()
test_serialize_response()
test_serialize_response_None()
test_serialize_response_dict_to_unknown_content_type()
class nova.tests.api.openstack.test_wsgi.TextDeserializerTest(methodName='runTest')

Bases: nova.test.TestCase

test_dispatch_default()
class nova.tests.api.openstack.test_wsgi.XMLDeserializerTest(methodName='runTest')

Bases: nova.test.TestCase

test_xml()
test_xml_empty()
class nova.tests.api.openstack.test_wsgi.XMLDictSerializerTest(methodName='runTest')

Bases: nova.test.TestCase

test_xml()