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