Previous topic

The cinder.tests.api.test_wsgi Module

Next topic

The cinder.tests.declare_flags 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.db.fakes Module

Stubouts, mocks and fixtures for the test suite

class FakeModel(values)

Bases: object

Stubs out for model.

stub_out(stubs, funcs)

Set the stubs in mapping in the db api.