The nova.tests.conductor.test_conductor Module

Tests for the conductor service.

class ConductorAPITestCase(*args, **kwargs)

Bases: nova.tests.conductor.test_conductor._BaseTestCase, nova.test.TestCase

Conductor API Tests.

setUp()
test_block_device_mapping_destroy()
test_block_device_mapping_update_or_create()
test_bw_usage_get()
test_instance_get_all()
test_instance_get_all_by_host()
test_instance_get_all_by_host_and_node()
test_ping()
test_security_groups_trigger_handler()
test_service_create()
test_service_destroy()
test_service_get_all()
test_service_get_all_by_host()
test_service_get_all_by_topic()
test_service_get_by_args()
test_service_get_by_args_not_found()
test_service_get_by_compute_host()
test_service_get_by_compute_host_not_found()
test_service_get_by_host_and_topic()
test_service_update()
class ConductorImportTest(*args, **kwargs)

Bases: nova.test.TestCase

test_import_conductor_local()
test_import_conductor_override_to_local()
test_import_conductor_rpc()
class ConductorLocalAPITestCase(*args, **kwargs)

Bases: nova.tests.conductor.test_conductor.ConductorAPITestCase

Conductor LocalAPI Tests.

setUp()
test_client_exceptions()
test_ping()
class ConductorPolicyTest(*args, **kwargs)

Bases: nova.test.TestCase

test_all_allowed_keys()
test_allowed_keys_are_real()
class ConductorRPCAPITestCase(*args, **kwargs)

Bases: nova.tests.conductor.test_conductor._BaseTestCase, nova.test.TestCase

Conductor RPC API Tests.

setUp()
test_block_device_mapping_destroy()
test_block_device_mapping_update_or_create()
test_instance_get_all_by_filters()
test_security_groups_trigger_handler()
test_service_get_all()
test_service_get_all_by_host()
test_service_get_all_by_topic()
test_service_get_by_args()
test_service_get_by_args_not_found()
test_service_get_by_compute_host()
test_service_get_by_compute_host_not_found()
test_service_get_by_host_and_topic()
class ConductorTestCase(*args, **kwargs)

Bases: nova.tests.conductor.test_conductor._BaseTestCase, nova.test.TestCase

Conductor Manager Tests.

setUp()
test_block_device_mapping_destroy()
test_block_device_mapping_update_or_create()
test_instance_get_all_by_filters()
test_instance_get_all_by_host()
test_security_groups_trigger_handler()
test_service_get_all()
test_service_get_all_by_host()
test_service_get_all_by_topic()
test_service_get_by_args()
test_service_get_by_args_not_found()
test_service_get_by_compute_host()
test_service_get_by_compute_host_not_found()
test_service_get_by_host_and_topic()
class FakeContext(user_id, project_id, is_admin=None, read_deleted='no', roles=None, remote_address=None, timestamp=None, request_id=None, auth_token=None, overwrite=True, quota_class=None, user_name=None, project_name=None, service_catalog=None, instance_lock_checked=False, **kwargs)

Bases: nova.context.RequestContext

elevated()

Return a consistent elevated context so we can detect it.

Previous topic

The nova.tests.compute.test_virtapi Module

Next topic

The nova.tests.conf_fixture Module

This Page