The nova.tests.test_service Module

Unit Tests for remote procedure calls using queue

class ExtendedService(host, binary, topic, manager, report_interval=None, periodic_enable=None, periodic_fuzzy_delay=None, periodic_interval_max=None, db_allowed=True, *args, **kwargs)

Bases: nova.service.Service

test_method()
class FakeManager(host=None, db_driver=None)

Bases: nova.manager.Manager

Fake manager for tests.

test_method()
class ServiceFlagsTestCase(*args, **kwargs)

Bases: nova.test.TestCase

test_service_disabled_on_create_based_on_flag()
test_service_enabled_on_create_based_on_flag()
class ServiceManagerTestCase(*args, **kwargs)

Bases: nova.test.TestCase

Test cases for Services.

test_message_gets_to_manager()
test_override_manager_method()
class ServiceTestCase(*args, **kwargs)

Bases: nova.test.TestCase

Test cases for Services.

setUp()
test_create()
test_init_and_start_hooks()
class TestLauncher(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_launch_app()
class TestWSGIService(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_service_random_port()
test_service_random_port_with_ipv6()

Previous topic

The nova.tests.test_safeutils Module

Next topic

The nova.tests.test_test Module

This Page