lxml.tests.test_etree.ETreeOnlyTestCase

Package lxml :: Package tests :: Module test_etree :: Class ETreeOnlyTestCase |
[hide private]
[frames] | no frames]

# Class ETreeOnlyTestCase

source code

                   object --+
                            |
       unittest.case.TestCase --+
                                |
    common_imports.HelperTestCase --+
                                    |
                                   ETreeOnlyTestCase

Tests only for etree, not ElementTree

Nested Classes | [hide private]
Inherited from `unittest.case.TestCase`: `failureException`

Instance Methods | [hide private]
test_version(self) | source code
test_c_api(self) | source code
test_element_names(self) | source code
test_element_name_empty(self) | source code
test_element_name_colon(self) | source code
test_element_name_quote(self) | source code
test_element_name_space(self) | source code
test_subelement_name_empty(self) | source code
test_subelement_name_colon(self) | source code
test_subelement_name_quote(self) | source code
test_subelement_name_space(self) | source code
test_subelement_attribute_invalid(self) | source code
test_qname_empty(self) | source code
test_qname_colon(self) | source code
test_qname_space(self) | source code
test_qname_namespace_localname(self) | source code
test_qname_element(self) | source code
test_qname_text_resolve(self) | source code
test_nsmap_prefix_invalid(self) | source code
test_attribute_has_key(self) | source code
test_attribute_set(self) | source code
test_attribute_set_nonstring(self) | source code
test_attrib_and_keywords(self) | source code
test_attrib_order(self) | source code
test_attribute_set_invalid(self) | source code
test_strip_attributes(self) | source code
test_strip_attributes_ns(self) | source code
test_strip_elements(self) | source code
test_strip_elements_ns(self) | source code
test_strip_tags(self) | source code
test_strip_tags_pi_comment(self) | source code
test_strip_tags_pi_comment_all(self) | source code
test_strip_tags_doc_style(self) | source code
test_strip_tags_ns(self) | source code
test_strip_tags_and_remove(self) | source code
test_pi(self) | source code
test_pi_parse(self) | source code
test_pi_pseudo_attributes_get(self) | source code
test_pi_pseudo_attributes_attrib(self) | source code
test_deepcopy_pi(self) | source code
test_deepcopy_elementtree_pi(self) | source code
test_deepcopy_elementtree_dtd(self) | source code
test_parse_remove_comments(self) | source code
test_parse_remove_pis(self) | source code
test_parse_parser_type_error(self) | source code
test_iterparse_tree_comments(self) | source code
test_iterparse_comments(self) | source code
test_iterparse_pis(self) | source code
test_iterparse_remove_comments(self) | source code
test_iterparse_broken(self) | source code
test_iterparse_broken_recover(self) | source code
test_iterparse_broken_multi_recover(self) | source code
test_iterparse_strip(self) | source code
test_iterparse_tag(self) | source code
test_iterparse_tag_all(self) | source code
test_iterparse_tag_ns(self) | source code
test_iterparse_tag_ns_empty(self) | source code
test_iterparse_tag_ns_all(self) | source code
test_iterparse_tag_ns_empty_all(self) | source code
test_iterparse_encoding_error(self) | source code
test_iterparse_encoding_8bit_override(self) | source code
test_iterparse_keep_cdata(self) | source code
test_parser_encoding_unknown(self) | source code
test_parser_encoding(self) | source code
test_feed_parser_recover(self) | source code
test_feed_parser_recover_no_id_dict(self) | source code
test_elementtree_parser_target_type_error(self) | source code
test_parser_target_feed_exception(self) | source code
test_parser_target_fromstring_exception(self) | source code
test_parser_target_feed_no_id_dict(self) | source code
test_parser_target_comment(self) | source code
test_parser_target_pi(self) | source code
test_parser_target_cdata(self) | source code
test_parser_target_recover(self) | source code
test_iterwalk_tag(self) | source code
test_iterwalk_tag_all(self) | source code
test_iterwalk(self) | source code
test_iterwalk_start(self) | source code
test_iterwalk_start_end(self) | source code
test_iterwalk_clear(self) | source code
test_iterwalk_attrib_ns(self) | source code
test_iterwalk_getiterator(self) | source code
test_resolve_string_dtd(self) | source code
test_resolve_bytes_dtd(self) | source code
test_resolve_filelike_dtd(self) | source code
test_resolve_filename_dtd(self) | source code
test_resolve_filename_dtd_relative(self) | source code
test_resolve_file_dtd(self) | source code
test_resolve_empty(self) | source code
test_resolve_error(self) | source code
test_entity_parse(self) | source code
test_entity_restructure(self) | source code
test_entity_append(self) | source code
test_entity_values(self) | source code
test_entity_error(self) | source code
test_cdata(self) | source code
test_cdata_tail(self) | source code
test_cdata_type(self) | source code
test_cdata_errors(self) | source code
test_cdata_parser(self) | source code
test_cdata_xpath(self) | source code
test_setitem_assert(self) | source code
test_append_error(self) | source code
test_append_recursive_error(self) | source code
test_addnext(self) | source code
test_addprevious(self) | source code
test_addnext_cycle(self) | source code
test_addprevious_cycle(self) | source code
test_addnext_cycle_long(self) | source code
test_addprevious_cycle_long(self) | source code
test_addprevious_noops(self) | source code
test_addnext_noops(self) | source code
test_addnext_root(self) | source code
test_addprevious_pi(self) | source code
test_addprevious_root_pi(self) | source code
test_addnext_pi(self) | source code
test_addnext_root_pi(self) | source code
test_addnext_comment(self) | source code
test_addnext_root_comment(self) | source code
test_addprevious_comment(self) | source code
test_addprevious_root_comment(self) | source code
test_attribute_values(self) | source code
test_comment_empty(self) | source code
test_comment_parse_empty(self) | source code
test_comment_no_proxy_yet(self) | source code
test_comment_immutable(self) | source code
test_comment_immutable_attrib(self) | source code
test_dump_none(self) | source code
test_prefix(self) | source code
test_prefix_default_ns(self) | source code
test_getparent(self) | source code
test_iterchildren(self) | source code
test_iterchildren_reversed(self) | source code
test_iterchildren_tag(self) | source code
test_iterchildren_tag_posarg(self) | source code
test_iterchildren_tag_reversed(self) | source code
test_iterchildren_tag_multiple(self) | source code
test_iterchildren_tag_multiple_posarg(self) | source code
test_iterchildren_tag_multiple_reversed(self) | source code
test_iterancestors(self) | source code
test_iterancestors_tag(self) | source code
test_iterancestors_tag_multiple(self) | source code
test_iterdescendants(self) | source code
test_iterdescendants_tag(self) | source code
test_iterdescendants_tag_multiple(self) | source code
test_getroottree(self) | source code
test_getnext(self) | source code
test_getprevious(self) | source code
test_itersiblings(self) | source code
test_itersiblings_tag(self) | source code
test_itersiblings_tag_multiple(self) | source code
test_parseid(self) | source code
test_XMLDTDID(self) | source code
test_XMLDTDID_empty(self) | source code
test_XMLDTDID_no_id_dict(self) | source code
_checkIDDict(self, dic, expected) | source code
test_namespaces(self) | source code
test_namespaces_default(self) | source code
test_namespaces_default_and_attr(self) | source code
test_attribute_keeps_namespace_prefix_on_merge(self) | source code
test_attribute_keeps_namespace_prefix_on_merge_with_nons(self) | source code
test_attribute_gets_namespace_prefix_on_merge_with_nons(self) | source code
test_attribute_gets_namespace_prefix_on_merge(self) | source code
test_namespaces_elementtree(self) | source code
test_namespaces_default_copy_element(self) | source code
test_namespaces_copy_element(self) | source code
test_namespaces_reuse_after_move(self) | source code
test_namespace_cleanup(self) | source code
test_element_nsmap(self) | source code
test_subelement_nsmap(self) | source code
test_html_prefix_nsmap(self) | source code
test_getiterator_filter_multiple(self) | source code
test_getiterator_filter_multiple_tuple(self) | source code
test_getiterator_filter_namespace(self) | source code
test_getiterator_filter_local_name(self) | source code
test_getiterator_filter_entities(self) | source code
test_getiterator_filter_element(self) | source code
test_getiterator_filter_all_comment_pi(self) | source code
test_elementtree_getelementpath(self) | source code
test_elementtree_getelementpath_ns(self) | source code
test_elementtree_find_qname(self) | source code
test_elementtree_findall_qname(self) | source code
test_elementtree_findall_ns_qname(self) | source code
test_findall_ns(self) | source code
test_findall_different_nsmaps(self) | source code
test_findall_syntax_error(self) | source code
test_index(self) | source code
test_replace(self) | source code
test_replace_new(self) | source code
test_setslice_all_empty_reversed(self) | source code
test_setslice_step(self) | source code
test_setslice_step_negative(self) | source code
test_setslice_step_negative2(self) | source code
test_setslice_step_overrun(self) | source code
test_sourceline_XML(self) | source code
test_large_sourceline_XML(self) | source code
test_sourceline_parse(self) | source code
test_sourceline_iterparse_end(self) | source code
test_sourceline_iterparse_start(self) | source code
test_sourceline_element(self) | source code
test_XML_base_url_docinfo(self) | source code
test_XML_set_base_url_docinfo(self) | source code
test_parse_stringio_base_url(self) | source code
test_parse_base_url_docinfo(self) | source code
test_HTML_base_url_docinfo(self) | source code
test_docinfo_public(self) | source code
test_docinfo_system(self) | source code
test_docinfo_empty(self) | source code
test_docinfo_name_only(self) | source code
test_doctype_name_only_roundtrip(self) | source code
test_doctype_output_override(self) | source code
test_xml_base(self) | source code
test_xml_base_attribute(self) | source code
test_html_base(self) | source code
test_html_base_tag(self) | source code
test_parse_fileobject_unicode(self) | source code
test_dtd_io(self) | source code
test_byte_zero(self) | source code
test_unicode_byte_zero(self) | source code
test_byte_invalid(self) | source code
test_unicode_byte_invalid(self) | source code
test_unicode_byte_invalid_sequence(self) | source code
test_encoding_tostring_utf16(self) | source code
test_tostring_none(self) | source code
test_tostring_pretty(self) | source code
test_tostring_with_tail(self) | source code
test_tostring_method_html_with_tail(self) | source code
test_standalone(self) | source code
test_tostring_standalone(self) | source code
test_tostring_standalone_in_out(self) | source code
test_tostring_method_text_encoding(self) | source code
test_tostring_method_text_unicode(self) | source code
test_tounicode(self) | source code
test_tounicode_element(self) | source code
test_tounicode_none(self) | source code
test_tounicode_element_tail(self) | source code
test_tounicode_pretty(self) | source code
test_tostring_unicode(self) | source code
test_tostring_unicode_element(self) | source code
test_tostring_unicode_none(self) | source code
test_tostring_unicode_element_tail(self) | source code
test_tostring_unicode_pretty(self) | source code
test_pypy_proxy_collect(self) | source code
test_element_refcycle(self) | source code
test_proxy_collect_siblings(self) | source code
test_proxy_collect_siblings_text(self) | source code
_writeElement(self, element, encoding=`'``us-ascii``'`, compression=0) Write out element for comparison. | source code
Inherited from `common_imports.HelperTestCase`: `parse`, `tearDown` Inherited from `common_imports.HelperTestCase` (private): `_rootstring` 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 `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