The nova.tests.api.openstack.compute.test_consoles Module

class ConsolesControllerTest(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_create_console()
test_delete_console()
test_delete_console_unknown_console()
test_delete_console_unknown_instance()
test_list_consoles()
test_show_console()
test_show_console_unknown_console()
test_show_console_unknown_instance()
class FakeInstanceDB

Bases: object

return_server_by_id(context, id)
return_server_by_uuid(context, uuid)
class TestConsolesXMLSerializer(*args, **kwargs)

Bases: nova.test.TestCase

test_index()
test_show()
stub_instance(id, user_id='fake', project_id='fake', host=None, vm_state=None, task_state=None, reservation_id='', uuid='aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', image_ref='10', flavor_id='1', name=None, key_name='', access_ipv4=None, access_ipv6=None, progress=0)

Previous topic

The nova.tests.api.openstack.compute.test_auth Module

Next topic

The nova.tests.api.openstack.compute.test_extensions Module

This Page