The nova.tests.db.fakes Module

Stubouts, mocks and fixtures for the test suite.

class FakeModel(values)

Bases: object

Stubs out for model.

get(name)
stub_out(stubs, funcs)

Set the stubs in mapping in the db api.

stub_out_db_instance_api(stubs, injected=True)

Stubs out the db API for creating Instances.

stub_out_db_network_api(stubs)

Previous topic

The nova.tests.consoleauth.test_rpcapi Module

Next topic

The nova.tests.db.test_sqlite Module

This Page