The congress.tests.datasources.fakes Module

class congress.tests.datasources.fakes.NovaFakeClient(*args, **kwargs)

Bases: mock.mock.MagicMock

get_availability_zone(name, state)
get_flavor(id, name, vcpus, ram, disk, ephemeral, rxtx_factor)
get_flavor_list()
get_host(host_name, service, zone)
get_host_list()
get_mock_server(id, name, host_id, status, tenant_id, user_id, flavor, image, zone=None, host_name=None)
get_server_list()
get_service(id, binary, host, zone, status, state, updated_at, disabled_reason)
get_service_list()
get_zone_list()