The nova.tests.baremetal.test_proxy_bare_metal Module

class BareMetalDomTestCase(methodName='runTest')

Bases: nova.test.TestCase

setUp()
tearDown()
test_find_domain()
test_init_no_domains()
test_init_remove_non_running_domain()

Check to see that all entries in the domain list are removed except for the one that is in the running state

test_read_domain_only_once()

Confirm that the domain is read from a file only once, even if the object is instantiated multiple times

class BareMetalTestCase(methodName='runTest')

Bases: nova.test.TestCase

setUp()
test_get_info()
test_instance = {'bridge': 'br101', 'vcpus': 2, 'bridge_name': 'br100', 'memory_kb': '1024000', 'mac_address': '02:12:34:46:56:67', 'image_ref': '123456', 'basepath': '/some/path', 'project_id': 'fake', 'instance_type_id': '5'}
test_ip = '10.11.12.13'
class DomainReadWriteTestCase(methodName='runTest')

Bases: nova.test.TestCase

assertJSONEquals(x, y)

Check if two json strings represent the equivalent Python object

setUp()
test_read_domain()

Read a file that contains at least one domain

test_read_domain_with_empty_list()

Read a file that contains no domains

test_read_no_file()

Try to read when the file does not exist

This should through and IO exception

test_write_domain()

Write the domain to file

Previous topic

The nova.tests.api.test_wsgi Module

Next topic

The nova.tests.baremetal.test_tilera Module

This Page