Previous topic

The cinder.tests.runtime_flags Module

Next topic

The cinder.tests.scheduler.test_capacity_weigher 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.scheduler.fakes Module

Fakes For Scheduler tests.

class FakeFilterScheduler(*args, **kwargs)

Bases: cinder.scheduler.filter_scheduler.FilterScheduler

class FakeHostManager

Bases: cinder.scheduler.host_manager.HostManager

class FakeHostState(host, attribute_dict)

Bases: cinder.scheduler.host_manager.HostState

mox_host_manager_db_calls(mock, context)