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

class FakeRequest

Bases: object

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

Bases: object

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

Bases: object

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

Bases: object

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

Bases: nova.test.TestCase

setUp()
tearDown()
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()
fake_service_get_all(context)
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