Package lxml :: Package tests :: Module test_elementtree :: Class ETreeTestCase
[hide private]
[frames] | no frames]

Class ETreeTestCase

source code

               object --+            
                        |            
   unittest.case.TestCase --+        
                            |        
common_imports.HelperTestCase --+    
                                |    
               _ETreeTestCaseBase --+
                                    |
                                   ETreeTestCase

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]

Inherited from _ETreeTestCaseBase: assertEncodingDeclaration, assertXML, test_ElementTree, test_XML, test_XMLID, test_attrib_clear, test_attrib_ns_clear, test_attrib_pop, test_attrib_pop_default, test_attrib_pop_empty_default, test_attrib_pop_invalid_args, test_attrib_pop_unknown, test_attrib_set_clear, test_attribute_contains, test_attribute_items, test_attribute_items2, test_attribute_items_ns, test_attribute_iterator, test_attribute_keys, test_attribute_keys2, test_attribute_keys_ns, test_attribute_manipulation, test_attribute_namespace_roundtrip, test_attribute_namespace_roundtrip_replaced, test_attribute_set, test_attribute_str, test_attribute_update_attrib, test_attribute_update_dict, test_attribute_update_iter, test_attribute_update_sequence, test_attribute_values, test_attribute_values_ns, test_attribute_xmlns_move, test_attributes, test_attributes2, test_attributes3, test_clear, test_clear_sub, test_clear_tail, test_comment, test_comment_getitem_getslice, test_comment_nonsense, test_comment_text, test_comment_whitespace, test_crash, test_deepcopy, test_deepcopy_append, test_deepcopy_comment, test_deepcopy_elementtree, test_deepcopy_namespaces, test_deepcopy_subelement, test_deepcopy_tail, test_del_attribute_ns, test_del_attribute_ns_parsed, test_del_insert, test_del_setitem, test_del_setslice, test_delitem, test_delitem_tail, test_delslice, test_delslice_child_tail, test_delslice_memory, test_delslice_negative1, test_delslice_negative2, test_delslice_step, test_delslice_step_negative, test_delslice_step_negative2, test_delslice_tail, test_element, test_element_contains, test_element_indexing_negative, test_element_indexing_only_text, test_element_indexing_with_text, test_element_indexing_with_text2, test_element_with_attributes, test_element_with_attributes_keywords, test_element_with_attributes_ns, test_elementtree, test_elementtree_getiterator, test_elementtree_getiterator_filter, test_elementtree_parser_target, test_encoding, test_encoding_8bit_latin1, test_encoding_8bit_parse_stringio, test_encoding_8bit_xml, test_encoding_exact, test_encoding_sub_tostring_default_encoding, test_encoding_tostring, test_encoding_tostring_default_encoding, test_encoding_tostring_sub, test_encoding_tostring_sub_tail, test_encoding_tostring_unknown, test_encoding_utf8_bom, test_encoding_write_default_encoding, test_extend, test_feed_parser_bytes, test_feed_parser_error_broken, test_feed_parser_error_close_empty, test_feed_parser_error_close_incomplete, test_feed_parser_error_position, test_feed_parser_unicode, test_findall, test_findall_ns, test_fromstring, test_fromstringlist, test_fromstringlist_characters, test_fromstringlist_single, test_getiterator, test_getiterator_empty, test_getiterator_filter, test_getiterator_filter_all, test_getiterator_filter_comment, test_getiterator_filter_pi, test_getiterator_filter_with_text, test_getiterator_with_text, test_getslice, test_getslice_negative, test_getslice_step, test_getslice_text, test_insert, test_insert_beyond_index, test_insert_negative, test_insert_tail, test_iselement, test_iter, test_iteration, test_iteration_crash, test_iteration_del_child, test_iteration_double, test_iteration_empty, test_iteration_reversed, test_iteration_subelement, test_iteration_text_only, test_iterparse, test_iterparse_attrib_ns, test_iterparse_cdata, test_iterparse_clear, test_iterparse_file, test_iterparse_getiterator, test_iterparse_large, test_iterparse_move_elements, test_iterparse_start, test_iterparse_start_end, test_itertext, test_itertext_child, test_makeelement, test_merge_namespaced_subtree_as_slice, test_multiple_elementrees, test_namespaces_after_serialize, test_ns_access, test_ns_access2, test_ns_attr, test_ns_decl_tostring, test_ns_decl_tostring_default, test_ns_decl_tostring_element, test_ns_decl_tostring_root, test_ns_move, test_ns_setting, test_ns_tag_parse, test_parse_cdata, test_parse_encoding_8bit_explicit, test_parse_encoding_8bit_override, test_parse_error, test_parse_error_from_file, test_parse_error_none, test_parse_file, test_parse_file_encoding, test_parse_file_nonexistent, test_parse_file_object, test_parse_file_object_encoding, test_parse_stringio, test_parse_with_encoding, test_parser_target_attrib, test_parser_target_data, test_parser_target_entity, test_parser_target_entity_unknown, test_parser_target_property, test_parser_target_tag, test_parser_version, test_pi, test_pi_nonsense, test_processinginstruction, test_qname, test_qname_attrib, test_qname_attrib_resolve, test_qname_attribute_getset, test_qname_attribute_resolve, test_qname_attribute_resolve_new, test_qname_cmp, test_register_namespace, test_remove, test_remove_nonexisting, test_remove_ns, test_remove_tail, test_replace_slice_tail, test_set_text, test_set_text2, test_set_text_empty, test_set_text_none, test_setitem, test_setitem2, test_setitem_indexerror, test_setitem_replace, test_setitem_tail, test_setslice, test_setslice_all, test_setslice_all_empty, test_setslice_all_replace, test_setslice_all_replace_reversed, test_setslice_all_replace_reversed_ns1, test_setslice_all_replace_reversed_ns2, test_setslice_empty, test_setslice_end, test_setslice_negative, test_setslice_negative2, test_setslice_single, test_setslice_tail, test_shallowcopy, test_shallowcopy_elementtree, test_simple, test_subelement, test_subelement_reference, test_subelement_with_attributes, test_subelement_with_attributes_ns, test_tag_reset_ns, test_tag_reset_root_ns, test_tag_str_subclass, test_tag_write, test_tail, test_tail1, test_tail_append, test_tail_elementtree_root, test_tail_set_none, test_tail_set_twice, test_tail_str_subclass, test_text, test_text_empty, test_text_escape_in, test_text_escape_out, test_text_escape_tostring, test_text_other, test_text_str_subclass, test_tostring, test_tostring_element, test_tostring_element_tail, test_tostring_method_html, test_tostring_method_text, test_treebuilder, test_treebuilder_target, test_weird_dict_interaction, test_write, test_write_ElementTreeDoctest, test_write_fail, test_write_method_html, test_write_method_text

Inherited from common_imports.HelperTestCase: parse, tearDown

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, setUp, shortDescription, skipTest

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]
  etree
The lxml.etree module implements the extended ElementTree API for XML.

Inherited from _ETreeTestCaseBase: required_versions_ET, required_versions_cET

Inherited from common_imports.HelperTestCase: assertFalse

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed, _diffThreshold

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

etree

The lxml.etree module implements the extended ElementTree API for XML.
Value:
lxml.etree