The nova.tests.hyperv.db_fakes Module

Stubouts, mocks and fixtures for the test suite

get_fake_block_device_info(target_portal, volume_id)
get_fake_image_data(project_id, user_id)
get_fake_instance_data(name, project_id, user_id)
get_fake_volume_info_data(target_portal, volume_id)
stub_out_db_instance_api(stubs)

Stubs out the db API for creating Instances.

Previous topic

The nova.tests.glance.stubs Module

Next topic

The nova.tests.hyperv.fake Module

This Page