The nova.tests.api.openstack.compute.contrib.test_services Module

class FakeRequest

Bases: object

GET = {}
environ = {'nova.context': <nova.context.RequestContext object at 0x1590f7d0>}
class FakeRequestWithHost

Bases: object

GET = {'host': 'host1'}
environ = {'nova.context': <nova.context.RequestContext object at 0x1590f1d0>}
class FakeRequestWithHostService

Bases: object

GET = {'binary': 'nova-compute', 'host': 'host1'}
environ = {'nova.context': <nova.context.RequestContext object at 0xf734390>}
class FakeRequestWithService

Bases: object

GET = {'binary': 'nova-compute'}
environ = {'nova.context': <nova.context.RequestContext object at 0x1590f210>}
class ServicesTest(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_services_disable()
test_services_enable()
test_services_list()
test_services_list_with_host()
test_services_list_with_host_service()
test_services_list_with_service()
test_services_with_exception()
fake_db_api_service_get_all(context, disabled=None)
fake_host_api_service_get_all(context, filters=None, set_zones=False)
fake_service_get_by_host_binary(context, host, binary)
fake_service_get_by_id(value)
fake_service_update(context, service_id, values)
fake_utcnow()

Previous topic

The nova.tests.api.openstack.compute.contrib.test_server_start_stop Module

Next topic

The nova.tests.api.openstack.compute.contrib.test_simple_tenant_usage Module

This Page