class documentation

class ObjectifyTestCase(HelperTestCase):

View In Hierarchy

Test cases for lxml.objectify
Method set​Up Undocumented
Method tear​Down Undocumented
Method test​_addattr Undocumented
Method test​_addattr​_element Undocumented
Method test​_addattr​_list Undocumented
Method test​_build​_tree Undocumented
Method test​_change​_pytype​_attribute Undocumented
Method test​_child Undocumented
Method test​_child​_addattr Undocumented
Method test​_child​_getattr Undocumented
Method test​_child​_getattr​_empty​_ns Undocumented
Method test​_child​_index Undocumented
Method test​_child​_index​_neg Undocumented
Method test​_child​_iter Undocumented
Method test​_child​_len Undocumented
Method test​_child​_nonexistant Undocumented
Method test​_child​_ns​_nons Undocumented
Method test​_child​_set​_ro Undocumented
Method test​_class​_lookup Undocumented
Method test​_countchildren Undocumented
Method test​_data​_element​_attrib​_attributes​_precedence Undocumented
Method test​_data​_element​_bool Undocumented
Method test​_data​_element​_data​_element​_arg Undocumented
Method test​_data​_element​_data​_element​_arg​_invalid​_pytype Undocumented
Method test​_data​_element​_data​_element​_arg​_invalid​_xsi Undocumented
Method test​_data​_element​_data​_element​_arg​_pytype Undocumented
Method test​_data​_element​_data​_element​_arg​_pytype​_none Undocumented
Method test​_data​_element​_data​_element​_arg​_pytype​_xsitype Undocumented
Method test​_data​_element​_data​_element​_arg​_xsitype Undocumented
Method test​_data​_element​_element​_arg Undocumented
Method test​_data​_element​_float Undocumented
Method test​_data​_element​_float​_hash Undocumented
Method test​_data​_element​_float​_hash​_repr Undocumented
Method test​_data​_element​_float​_precision Undocumented
Method test​_data​_element​_int Undocumented
Method test​_data​_element​_int​_hash Undocumented
Method test​_data​_element​_invalid​_pytype Undocumented
Method test​_data​_element​_invalid​_xsi Undocumented
Method test_data_element_​None​Type Undocumented
Method test​_data​_element​_nsmap​_custom Undocumented
Method test​_data​_element​_nsmap​_custom​_prefixes Undocumented
Method test​_data​_element​_nsmap​_default Undocumented
Method test​_data​_element​_nsmap​_empty Undocumented
Method test​_data​_element​_pytype​_none Undocumented
Method test​_data​_element​_pytype​_none​_compat Undocumented
Method test​_data​_element​_pytypes Undocumented
Method test​_data​_element​_str Undocumented
Method test​_data​_element​_str​_floatliteral Undocumented
Method test​_data​_element​_str​_intliteral Undocumented
Method test​_data​_element​_unregistered Undocumented
Method test​_data​_element​_ustr Undocumented
Method test​_data​_element​_ustr​_floatliteral Undocumented
Method test​_data​_element​_ustr​_intliteral Undocumented
Method test​_data​_element​_xsitypes Undocumented
Method test​_data​_element​_xsitypes​_prefixed Undocumented
Method test​_data​_element​_xsitypes​_xsdprefixed Undocumented
Method test​_dataelement​_xsi Undocumented
Method test​_dataelement​_xsi​_nsmap Undocumented
Method test​_dataelement​_xsi​_prefix​_error Undocumented
Method test​_date​_element​_efactory​_tail Undocumented
Method test​_date​_element​_efactory​_text Undocumented
Method test​_deannotate Undocumented
Method test​_delitem​_index Undocumented
Method test​_descendant​_paths Undocumented
Method test​_descendant​_paths​_child Undocumented
Method test​_descendant​_paths​_prefix Undocumented
Method test​_dir Undocumented
Method test​_efactory​_attrib Undocumented
Method test​_efactory​_bool Undocumented
Method test​_efactory​_float Undocumented
Method test​_efactory​_int Undocumented
Method test​_efactory​_nested Undocumented
Method test​_efactory​_none Undocumented
Method test​_efactory​_str Undocumented
Method test​_efactory​_subtype Undocumented
Method test​_efactory​_unicode Undocumented
Method test​_efactory​_value​_concatenation Undocumented
Method test​_element​_nsmap​_custom Undocumented
Method test​_element​_nsmap​_custom​_prefixes Undocumented
Method test​_element​_nsmap​_default Undocumented
Method test​_element​_nsmap​_empty Undocumented
Method test​_findall Undocumented
Method test​_findall​_ns Undocumented
Method test​_getslice​_complete Undocumented
Method test​_getslice​_partial Undocumented
Method test​_getslice​_partial​_neg Undocumented
Method test​_object​_path Undocumented
Method test​_object​_path​_addattr Undocumented
Method test​_object​_path​_addattr​_create Undocumented
Method test​_object​_path​_addattr​_create​_element Undocumented
Method test​_object​_path​_addattr​_create​_list Undocumented
Method test​_object​_path​_addattr​_element Undocumented
Method test​_object​_path​_default​_absolute Undocumented
Method test​_object​_path​_default​_relative Undocumented
Method test​_object​_path​_dot Undocumented
Method test​_object​_path​_dot​_list Undocumented
Method test​_object​_path​_dot​_root Undocumented
Method test​_object​_path​_dot​_root​_list Undocumented
Method test​_object​_path​_fail Undocumented
Method test​_object​_path​_fail​_parse​_empty Undocumented
Method test​_object​_path​_fail​_parse​_empty​_list Undocumented
Method test​_object​_path​_hasattr Undocumented
Method test​_object​_path​_index Undocumented
Method test​_object​_path​_index​_fail​_lookup Undocumented
Method test​_object​_path​_index​_fail​_parse Undocumented
Method test​_object​_path​_index​_list Undocumented
Method test​_object​_path​_list Undocumented
Method test​_object​_path​_ns Undocumented
Method test​_object​_path​_ns​_list Undocumented
Method test​_object​_path​_set Undocumented
Method test​_object​_path​_set​_create Undocumented
Method test​_object​_path​_set​_create​_element Undocumented
Method test​_object​_path​_set​_create​_list Undocumented
Method test​_object​_path​_set​_element Undocumented
Method test​_object​_path​_syntax Undocumented
Method test​_parse​_base​_url​_docinfo Undocumented
Method test​_parse​_stringio​_base​_url Undocumented
Method test​_pickle Undocumented
Method test​_pickle​_boolelement Undocumented
Method test​_pickle​_elementtree Undocumented
Method test​_pickle​_floattelement Undocumented
Method test​_pickle​_intelement Undocumented
Method test​_pickle​_noneelement Undocumented
Method test​_pickle​_strelement Undocumented
Method test​_pyannotate​_empty Undocumented
Method test​_pyannotate​_ignore​_old Undocumented
Method test​_pyannotate​_use​_old Undocumented
Method test​_pytype​_annotation Undocumented
Method test​_pytype​_annotation​_empty Undocumented
Method test​_pytype​_annotation​_use​_old Undocumented
Method test​_pytype​_deannotate Undocumented
Method test​_pytype​_xsitype​_annotation Undocumented
Method test​_registered​_type​_stringify Undocumented
Method test​_registered​_types Undocumented
Method test​_root Undocumented
Method test​_schema​_types Undocumented
Method test​_schema​_types​_prefixed Undocumented
Method test​_set​_string Undocumented
Method test​_setattr Undocumented
Method test​_setattr​_nonunicode Undocumented
Method test​_setitem​_index Undocumented
Method test​_setitem​_string Undocumented
Method test​_setitem​_string​_special Undocumented
Method test​_setslice​_complete Undocumented
Method test​_setslice​_elements Undocumented
Method test​_setslice​_empty Undocumented
Method test​_setslice​_insert Undocumented
Method test​_setslice​_insert​_neg Undocumented
Method test​_setslice​_partial Undocumented
Method test​_setslice​_partial​_allneg Undocumented
Method test​_setslice​_partial​_neg Undocumented
Method test​_setslice​_partial​_wrong​_length Undocumented
Method test​_standard​_lookup Undocumented
Method test​_standard​_lookup​_fuzz Undocumented
Method test​_str Undocumented
Method test​_sub​_data​_element​_nsmap​_custom Undocumented
Method test​_sub​_data​_element​_nsmap​_custom​_prefixes Undocumented
Method test​_sub​_data​_element​_nsmap​_default Undocumented
Method test​_sub​_data​_element​_nsmap​_empty Undocumented
Method test​_sub​_element​_nsmap​_custom Undocumented
Method test​_sub​_element​_nsmap​_custom​_prefixes Undocumented
Method test​_sub​_element​_nsmap​_default Undocumented
Method test​_sub​_element​_nsmap​_empty Undocumented
Method test​_type​_bool Undocumented
Method test​_type​_bool​_cmp Undocumented
Method test​_type​_float Undocumented
Method test​_type​_float​_instantiation​_precision Undocumented
Method test​_type​_float​_precision Undocumented
Method test​_type​_float​_precision​_consistency Undocumented
Method test​_type​_int Undocumented
Method test​_type​_int​_cmp Undocumented
Method test​_type​_none​_cmp Undocumented
Method test_type_​None​Type Undocumented
Method test​_type​_str Undocumented
Method test​_type​_str​_add Undocumented
Method test​_type​_str​_as​_complex Undocumented
Method test​_type​_str​_as​_float Undocumented
Method test​_type​_str​_as​_int Undocumented
Method test​_type​_str​_cmp Undocumented
Method test​_type​_str​_floatliteral Undocumented
Method test​_type​_str​_hash Undocumented
Method test​_type​_str​_intliteral Undocumented
Method test​_type​_str​_mod Undocumented
Method test​_type​_str​_mod​_data​_elements Undocumented
Method test​_type​_str​_mul Undocumented
Method test​_type​_str​_sequence Undocumented
Method test​_type​_unregistered Undocumented
Method test​_type​_ustr Undocumented
Method test​_type​_ustr​_add Undocumented
Method test​_type​_ustr​_floatliteral Undocumented
Method test​_type​_ustr​_intliteral Undocumented
Method test​_type​_ustr​_mul Undocumented
Method test​_vars Undocumented
Method test​_xml​_base Undocumented
Method test​_xml​_base​_attribute Undocumented
Method test_​XML_base_url_docinfo Undocumented
Method test_​XML_set_base_url_docinfo Undocumented
Method test​_xsiannotate​_ignore​_old Undocumented
Method test​_xsiannotate​_use​_old Undocumented
Method test​_xsinil​_deannotate Undocumented
Method test​_xsitype​_deannotate Undocumented
Method XML Undocumented
Instance Variable ​Element Undocumented
Instance Variable lookup Undocumented
Instance Variable parser Undocumented
Method ​_test​_pickle Undocumented
Instance Variable ​_orig​_types Undocumented

Inherited from HelperTestCase:

Method parse Undocumented
Method ​_rootstring Undocumented
def setUp(self):

Undocumented

def tearDown(self):
def test_addattr(self):

Undocumented

def test_addattr_element(self):

Undocumented

def test_addattr_list(self):

Undocumented

def test_build_tree(self):

Undocumented

def test_change_pytype_attribute(self):

Undocumented

def test_child(self):

Undocumented

def test_child_addattr(self):

Undocumented

def test_child_getattr(self):

Undocumented

def test_child_getattr_empty_ns(self):

Undocumented

def test_child_index(self):

Undocumented

def test_child_index_neg(self):

Undocumented

def test_child_iter(self):

Undocumented

def test_child_len(self):

Undocumented

def test_child_nonexistant(self):

Undocumented

def test_child_ns_nons(self):

Undocumented

def test_child_set_ro(self):

Undocumented

def test_class_lookup(self):

Undocumented

def test_countchildren(self):

Undocumented

def test_data_element_attrib_attributes_precedence(self):

Undocumented

def test_data_element_bool(self):

Undocumented

def test_data_element_data_element_arg(self):

Undocumented

def test_data_element_data_element_arg_invalid_pytype(self):

Undocumented

def test_data_element_data_element_arg_invalid_xsi(self):

Undocumented

def test_data_element_data_element_arg_pytype(self):

Undocumented

def test_data_element_data_element_arg_pytype_none(self):

Undocumented

def test_data_element_data_element_arg_pytype_xsitype(self):

Undocumented

def test_data_element_data_element_arg_xsitype(self):

Undocumented

def test_data_element_element_arg(self):

Undocumented

def test_data_element_float(self):

Undocumented

def test_data_element_float_hash(self):

Undocumented

def test_data_element_float_hash_repr(self):

Undocumented

def test_data_element_float_precision(self):

Undocumented

def test_data_element_int(self):

Undocumented

def test_data_element_int_hash(self):

Undocumented

def test_data_element_invalid_pytype(self):

Undocumented

def test_data_element_invalid_xsi(self):

Undocumented

def test_data_element_NoneType(self):

Undocumented

def test_data_element_nsmap_custom(self):

Undocumented

def test_data_element_nsmap_custom_prefixes(self):

Undocumented

def test_data_element_nsmap_default(self):

Undocumented

def test_data_element_nsmap_empty(self):

Undocumented

def test_data_element_pytype_none(self):

Undocumented

def test_data_element_pytype_none_compat(self):

Undocumented

def test_data_element_pytypes(self):

Undocumented

def test_data_element_str(self):

Undocumented

def test_data_element_str_floatliteral(self):

Undocumented

def test_data_element_str_intliteral(self):

Undocumented

def test_data_element_unregistered(self):

Undocumented

def test_data_element_ustr(self):

Undocumented

def test_data_element_ustr_floatliteral(self):

Undocumented

def test_data_element_ustr_intliteral(self):

Undocumented

def test_data_element_xsitypes(self):

Undocumented

def test_data_element_xsitypes_prefixed(self):

Undocumented

def test_data_element_xsitypes_xsdprefixed(self):

Undocumented

def test_dataelement_xsi(self):

Undocumented

def test_dataelement_xsi_nsmap(self):

Undocumented

def test_dataelement_xsi_prefix_error(self):

Undocumented

def test_date_element_efactory_tail(self):

Undocumented

def test_date_element_efactory_text(self):

Undocumented

def test_deannotate(self):

Undocumented

def test_delitem_index(self):

Undocumented

def test_descendant_paths(self):

Undocumented

def test_descendant_paths_child(self):

Undocumented

def test_descendant_paths_prefix(self):

Undocumented

def test_dir(self):

Undocumented

def test_efactory_attrib(self):

Undocumented

def test_efactory_bool(self):

Undocumented

def test_efactory_float(self):

Undocumented

def test_efactory_int(self):

Undocumented

def test_efactory_nested(self):

Undocumented

def test_efactory_none(self):

Undocumented

def test_efactory_str(self):

Undocumented

def test_efactory_subtype(self):

Undocumented

def test_efactory_unicode(self):

Undocumented

def test_efactory_value_concatenation(self):

Undocumented

def test_element_nsmap_custom(self):

Undocumented

def test_element_nsmap_custom_prefixes(self):

Undocumented

def test_element_nsmap_default(self):

Undocumented

def test_element_nsmap_empty(self):

Undocumented

def test_findall(self):

Undocumented

def test_findall_ns(self):

Undocumented

def test_getslice_complete(self):

Undocumented

def test_getslice_partial(self):

Undocumented

def test_getslice_partial_neg(self):

Undocumented

def test_object_path(self):

Undocumented

def test_object_path_addattr(self):

Undocumented

def test_object_path_addattr_create(self):

Undocumented

def test_object_path_addattr_create_element(self):

Undocumented

def test_object_path_addattr_create_list(self):

Undocumented

def test_object_path_addattr_element(self):

Undocumented

def test_object_path_default_absolute(self):

Undocumented

def test_object_path_default_relative(self):

Undocumented

def test_object_path_dot(self):

Undocumented

def test_object_path_dot_list(self):

Undocumented

def test_object_path_dot_root(self):

Undocumented

def test_object_path_dot_root_list(self):

Undocumented

def test_object_path_fail(self):

Undocumented

def test_object_path_fail_parse_empty(self):

Undocumented

def test_object_path_fail_parse_empty_list(self):

Undocumented

def test_object_path_hasattr(self):

Undocumented

def test_object_path_index(self):

Undocumented

def test_object_path_index_fail_lookup(self):

Undocumented

def test_object_path_index_fail_parse(self):

Undocumented

def test_object_path_index_list(self):

Undocumented

def test_object_path_list(self):

Undocumented

def test_object_path_ns(self):

Undocumented

def test_object_path_ns_list(self):

Undocumented

def test_object_path_set(self):

Undocumented

def test_object_path_set_create(self):

Undocumented

def test_object_path_set_create_element(self):

Undocumented

def test_object_path_set_create_list(self):

Undocumented

def test_object_path_set_element(self):

Undocumented

def test_object_path_syntax(self):

Undocumented

def test_parse_base_url_docinfo(self):

Undocumented

def test_parse_stringio_base_url(self):

Undocumented

def test_pickle(self):

Undocumented

def test_pickle_boolelement(self):

Undocumented

def test_pickle_elementtree(self):

Undocumented

def test_pickle_floattelement(self):

Undocumented

def test_pickle_intelement(self):

Undocumented

def test_pickle_noneelement(self):

Undocumented

def test_pickle_strelement(self):

Undocumented

def test_pyannotate_empty(self):

Undocumented

def test_pyannotate_ignore_old(self):

Undocumented

def test_pyannotate_use_old(self):

Undocumented

def test_pytype_annotation(self):

Undocumented

def test_pytype_annotation_empty(self):

Undocumented

def test_pytype_annotation_use_old(self):

Undocumented

def test_pytype_deannotate(self):

Undocumented

def test_pytype_xsitype_annotation(self):

Undocumented

def test_registered_type_stringify(self):

Undocumented

def test_registered_types(self):

Undocumented

def test_root(self):

Undocumented

def test_schema_types(self):

Undocumented

def test_schema_types_prefixed(self):

Undocumented

def test_set_string(self):

Undocumented

def test_setattr(self):

Undocumented

def test_setattr_nonunicode(self):

Undocumented

def test_setitem_index(self):

Undocumented

def test_setitem_string(self):

Undocumented

def test_setitem_string_special(self):

Undocumented

def test_setslice_complete(self):

Undocumented

def test_setslice_elements(self):

Undocumented

def test_setslice_empty(self):

Undocumented

def test_setslice_insert(self):

Undocumented

def test_setslice_insert_neg(self):

Undocumented

def test_setslice_partial(self):

Undocumented

def test_setslice_partial_allneg(self):

Undocumented

def test_setslice_partial_neg(self):

Undocumented

def test_setslice_partial_wrong_length(self):

Undocumented

def test_standard_lookup(self):

Undocumented

def test_standard_lookup_fuzz(self):

Undocumented

def test_str(self):

Undocumented

def test_sub_data_element_nsmap_custom(self):

Undocumented

def test_sub_data_element_nsmap_custom_prefixes(self):

Undocumented

def test_sub_data_element_nsmap_default(self):

Undocumented

def test_sub_data_element_nsmap_empty(self):

Undocumented

def test_sub_element_nsmap_custom(self):

Undocumented

def test_sub_element_nsmap_custom_prefixes(self):

Undocumented

def test_sub_element_nsmap_default(self):

Undocumented

def test_sub_element_nsmap_empty(self):

Undocumented

def test_type_bool(self):

Undocumented

def test_type_bool_cmp(self):

Undocumented

def test_type_float(self):

Undocumented

def test_type_float_instantiation_precision(self):

Undocumented

def test_type_float_precision(self):

Undocumented

def test_type_float_precision_consistency(self):

Undocumented

def test_type_int(self):

Undocumented

def test_type_int_cmp(self):

Undocumented

def test_type_none_cmp(self):

Undocumented

def test_type_NoneType(self):

Undocumented

def test_type_str(self):

Undocumented

def test_type_str_add(self):

Undocumented

def test_type_str_as_complex(self):

Undocumented

def test_type_str_as_float(self):

Undocumented

def test_type_str_as_int(self):

Undocumented

def test_type_str_cmp(self):

Undocumented

def test_type_str_floatliteral(self):

Undocumented

def test_type_str_hash(self):

Undocumented

def test_type_str_intliteral(self):

Undocumented

def test_type_str_mod(self):

Undocumented

def test_type_str_mod_data_elements(self):

Undocumented

def test_type_str_mul(self):

Undocumented

def test_type_str_sequence(self):

Undocumented

def test_type_unregistered(self):

Undocumented

def test_type_ustr(self):

Undocumented

def test_type_ustr_add(self):

Undocumented

def test_type_ustr_floatliteral(self):

Undocumented

def test_type_ustr_intliteral(self):

Undocumented

def test_type_ustr_mul(self):

Undocumented

def test_vars(self):

Undocumented

def test_xml_base(self):

Undocumented

def test_xml_base_attribute(self):

Undocumented

def test_XML_base_url_docinfo(self):

Undocumented

def test_XML_set_base_url_docinfo(self):

Undocumented

def test_xsiannotate_ignore_old(self):

Undocumented

def test_xsiannotate_use_old(self):

Undocumented

def test_xsinil_deannotate(self):

Undocumented

def test_xsitype_deannotate(self):

Undocumented

def XML(self, xml):

Undocumented

Element =

Undocumented

lookup =

Undocumented

parser =

Undocumented

def _test_pickle(self, stringOrElt):

Undocumented

_orig_types =

Undocumented