tests.utils.tests_unit_xml_operation

Xml operation test class

class tests.utils.tests_unit_xml_operation.TestRawToDict(methodName='runTest')

Bases: unittest.case.TestCase

test_raw_to_dict_throws_exception_when_invalid_xml()
test_raw_to_dict_valid()
class tests.utils.tests_unit_xml_operation.TestRemoveListsFromXmlDict(methodName='runTest')

Bases: unittest.case.TestCase

test_remove_lists_from_xml_dict_empty_dict_does_nothing()
test_remove_lists_from_xml_dict_root_list_is_not_removed_if_smaller_than_max_size()
test_remove_lists_from_xml_dict_root_list_is_removed()
test_remove_lists_from_xml_dict_sub_element_list_is_not_removed_if_smaller_than_max_size()
test_remove_lists_from_xml_dict_sub_element_list_is_removed()
test_remove_lists_from_xml_dict_sub_elements_only_list_is_removed()