The nova.tests.api.openstack.test_xmlutil Module

class MasterTemplateBuilder

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class MiscellaneousXMLUtilTests(*args, **kwargs)

Bases: nova.test.TestCase

test_make_flat_dict()
test_safe_parse_xml()
class SafeParserTestCase(*args, **kwargs)

Bases: nova.test.TestCase

test_external_dtd()
test_external_file()
test_notation()
class SelectorTest(*args, **kwargs)

Bases: nova.test.TestCase

obj_for_test = {'test': {'values': [1, 2, 3], 'name': 'test', 'attrs': {'baz': 3, 'foo': 1, 'bar': 2}}}
test_constant_selector()
test_datum_selector()
test_dict_selector()
test_empty_selector()
test_items_selector()
test_list_selector()
test_missing_key_selector()
class SlaveTemplateBuilder

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class TemplateBuilderTest(*args, **kwargs)

Bases: nova.test.TestCase

test_master_template_builder()
test_slave_template_builder()
class TemplateElementTest(*args, **kwargs)

Bases: nova.test.TestCase

test__render()
test_apply_attrs()
test_apply_text()
test_dyntag()
test_element_append_child()
test_element_attribute_items()
test_element_attribute_keys()
test_element_extend_children()
test_element_get_attributes()
test_element_initial_attributes()
test_element_insert_child()
test_element_remove_child()
test_element_selector()
test_element_selector_none()
test_element_selector_string()
test_element_set_attributes()
test_element_subselector()
test_element_subselector_none()
test_element_subselector_string()
test_element_text()
test_render()
test_subelement()
test_wrap()
class TemplateTest(*args, **kwargs)

Bases: nova.test.TestCase

test__nsmap()
test__serialize()
test__siblings()
test_master_attach()
test_master_copy()
test_slave_apply()
test_wrap()

Previous topic

The nova.tests.api.openstack.test_wsgi Module

Next topic

The nova.tests.api.test_auth Module

This Page