The nova.tests.api.openstack.compute.test_extensions Module

class ActionExtensionTest(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.test_extensions.ExtensionTestCase

test_extended_action()
test_failed_action()
test_invalid_action()
test_non_exist_action()
class ControllerExtensionTest(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.test_extensions.ExtensionTestCase

test_controller_action_extension_early()
test_controller_action_extension_late()
test_controller_extension_early()
test_controller_extension_late()
test_controller_extension_late_inherited_resource()
class ExtensionControllerIdFormatTest(*args, **kwargs)

Bases: nova.test.TestCase

test_id_with_bad_format()
test_id_with_json_format()
test_id_with_xml_format()
class ExtensionControllerTest(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.test_extensions.ExtensionTestCase

setUp()
test_get_extension_json()
test_get_extension_xml()
test_get_non_existing_extension_json()
test_list_extensions_json()
test_list_extensions_xml()
class ExtensionManagerTest(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.test_extensions.ExtensionTestCase

response_body = 'Try to say this Mr. Knox, sir...'
test_get_resources()
test_invalid_extensions()
class ExtensionTestCase(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
class ExtensionsXMLSerializerTest(*args, **kwargs)

Bases: nova.test.TestCase

test_serialize_extension()
test_serialize_extensions()
class InvalidExtension

Bases: object

alias = 'THIRD'
class RequestExtensionTest(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.test_extensions.ExtensionTestCase

test_get_resources_with_mgr()
test_get_resources_with_stub_mgr()
class ResourceExtensionTest(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.test_extensions.ExtensionTestCase

test_bad_request()
test_get_resources()
test_get_resources_with_controller()
test_no_extension_present()
test_non_exist_resource()
class StubActionController(body)

Bases: nova.api.openstack.wsgi.Controller

wsgi_actions = {'fooAction': '_action_foo'}
wsgi_extensions = []
class StubController(body)

Bases: object

create(req)
index(req)
show(req, id)
class StubControllerExtension

Bases: nova.api.openstack.extensions.ExtensionDescriptor

name = 'twaadle'
class StubEarlyExtensionController(body)

Bases: nova.api.openstack.wsgi.Controller

index(req)
wsgi_actions = {}
wsgi_extensions = [('index', None), ('_action_foo', 'fooAction')]
class StubExtensionManager(resource_ext=None, action_ext=None, request_ext=None, controller_ext=None)

Bases: object

Provides access to Tweedle Beetles.

alias = 'TWDLBETL'
get_actions()
get_controller_extensions()
get_request_extensions()
get_resources()
name = 'Tweedle Beetle Extension'
class StubLateExtensionController(body)

Bases: nova.api.openstack.wsgi.Controller

index(req, resp_obj)
wsgi_actions = {}
wsgi_extensions = [('index', None), ('_action_foo', 'fooAction')]

Previous topic

The nova.tests.api.openstack.compute.test_consoles Module

Next topic

The nova.tests.api.openstack.compute.test_flavors Module

This Page