Previous topic

The cinder.tests.test_rbd Module

Next topic

The cinder.tests.test_skip_examples Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.tests.test_service Module

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()