The nova.tests.api.openstack.test_faults Module

class FaultsXMLSerializationTestV11(methodName='runTest')

Bases: nova.test.TestCase

Tests covering nova.api.openstack.faults:Fault class.

test_400_fault()
test_404_fault()
test_413_fault()
class TestFaults(methodName='runTest')

Bases: nova.test.TestCase

Tests covering nova.api.openstack.faults:Fault class.

test_400_fault_json()

Test fault serialized to JSON via file-extension and/or header.

test_413_fault_json()

Test fault serialized to JSON via file-extension and/or header.

test_fault_has_status_int()

Ensure the status_int is set correctly on faults

test_raise()

Ensure the ability to raise Fault in WSGI-ified methods.

test_raise_403()

Ensure the ability to raise Fault in WSGI-ified methods.

test_xml_serializer()

Ensure that a v1.1 request responds with a v1.1 xmlns

Previous topic

The nova.tests.api.openstack.test_common Module

Next topic

The nova.tests.api.openstack.test_wsgi Module

This Page