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

Class ETreeOnlyTestCase

source code

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

Tests only for etree, not ElementTree

Nested Classes [hide private]

Inherited from unittest.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_attrib_pop(self) source code
 
test_attrib_pop_unknown(self) source code
 
test_attrib_pop_default(self) source code
 
test_attrib_pop_empty_default(self) source code
 
test_attrib_pop_invalid_args(self) source code
 
test_pi(self) source code
 
test_pi_parse(self) source code
 
test_deepcopy_pi(self) source code
 
test_deepcopy_comment(self) source code
 
test_attribute_set(self) source code
 
test_parse_error(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_parse_error_logging(self) source code
 
test_parse_error_from_file(self) source code
 
test_iterparse_comments(self) source code
 
test_iterparse_remove_comments(self) source code
 
test_iterparse_broken(self) source code
 
test_iterparse_strip(self) source code
 
test_iterparse_tag(self) source code
 
test_iterparse_tag_all(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_empty(self) source code
 
test_resolve_error(self) source code
 
test_setitem_assert(self) source code
 
test_append_None(self) source code
 
test_addnext(self) source code
 
test_addprevious(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_text(self) source code
 
test_comment_whitespace(self) source code
 
test_comment_immutable(self) source code
 
test_weird_dict_interaction(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_reversed(self) source code
 
test_iterancestors(self) source code
 
test_iterancestors_tag(self) source code
 
test_iterdescendants(self) source code
 
test_iterdescendants_tag(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_parseid(self) source code
 
test_XMLDTDID(self) source code
 
test_XMLDTDID_empty(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_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_namespaces_after_serialize(self) source code
 
test_element_nsmap(self) source code
 
test_subelement_nsmap(self) source code
 
test_getiterator_filter_namespace(self) source code
 
test_getiterator_filter_element(self) source code
 
test_getiterator_filter_all_comment_pi(self) source code
 
test_findall_ns(self) source code
 
test_index(self) source code
 
test_replace(self) source code
 
test_replace_new(self) source code
 
test_extend(self) source code
 
test_sourceline_XML(self) source code
 
test_sourceline_parse(self) source code
 
test_sourceline_element(self) source code
 
test_XML_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_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_encoding_tostring_utf16(self) source code
 
test_tostring_none(self) source code
 
test_tostring_pretty(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
 
_writeElement(self, element, encoding='us-ascii')
Write out element for comparison.
source code

Inherited from common_imports.HelperTestCase: parse, tearDown

Inherited from common_imports.HelperTestCase (private): _rootstring

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, setUp, shortDescription

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variables [hide private]
  etree

Inherited from common_imports.HelperTestCase: assertFalse

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

etree

Value:
lxml.etree