This Page

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

The nova.tests.api.openstack.test_faults Module

class nova.tests.api.openstack.test_faults.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_400_fault_xml()

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

test_413_fault_json()

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

test_413_fault_xml()
test_raise()

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