Unit Tests for remote procedure calls using queue
-
class nova.tests.test_service.ExtendedService(host, binary, topic, manager, report_interval=None, periodic_interval=None, *args, **kwargs)
Bases: nova.service.Service
-
test_method()
-
class nova.tests.test_service.FakeManager(host=None, db_driver=None)
Bases: nova.manager.Manager
Fake manager for tests
-
test_method()
-
class nova.tests.test_service.ServiceFlagsTestCase(methodName='runTest')
Bases: nova.test.TestCase
-
test_service_disabled_on_create_based_on_flag()
-
test_service_enabled_on_create_based_on_flag()
-
class nova.tests.test_service.ServiceManagerTestCase(methodName='runTest')
Bases: nova.test.TestCase
Test cases for Services
-
test_message_gets_to_manager()
-
test_override_manager_method()
-
class nova.tests.test_service.ServiceTestCase(methodName='runTest')
Bases: nova.test.TestCase
Test cases for Services
-
setUp()
-
test_create()
-
test_report_state_newly_connected()
-
test_report_state_newly_disconnected()
-
class nova.tests.test_service.TestLauncher(methodName='runTest')
Bases: nova.test.TestCase
-
setUp()
-
test_launch_app()
-
class nova.tests.test_service.TestWSGIService(methodName='runTest')
Bases: nova.test.TestCase
-
setUp()
-
test_service_random_port()