class documentation

class ObjectifyTestCase(HelperTestCase): (source)

View In Hierarchy

Test cases for lxml.objectify

Method setUp Undocumented
Method tearDown 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_bool_text 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_float_special_value_text 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_NoneType 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_NoneType 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): (source)

Undocumented

def test_addattr(self): (source)

Undocumented

def test_addattr_element(self): (source)

Undocumented

def test_addattr_list(self): (source)

Undocumented

def test_build_tree(self): (source)

Undocumented

def test_change_pytype_attribute(self): (source)

Undocumented

def test_child(self): (source)

Undocumented

def test_child_addattr(self): (source)

Undocumented

def test_child_getattr(self): (source)

Undocumented

def test_child_getattr_empty_ns(self): (source)

Undocumented

def test_child_index(self): (source)

Undocumented

def test_child_index_neg(self): (source)

Undocumented

def test_child_iter(self): (source)

Undocumented

def test_child_len(self): (source)

Undocumented

def test_child_nonexistant(self): (source)

Undocumented

def test_child_ns_nons(self): (source)

Undocumented

def test_child_set_ro(self): (source)

Undocumented

def test_class_lookup(self): (source)

Undocumented

def test_countchildren(self): (source)

Undocumented

def test_data_element_attrib_attributes_precedence(self): (source)

Undocumented

def test_data_element_bool(self): (source)

Undocumented

def test_data_element_bool_text(self): (source)

Undocumented

def test_data_element_data_element_arg(self): (source)

Undocumented

def test_data_element_data_element_arg_invalid_pytype(self): (source)

Undocumented

def test_data_element_data_element_arg_invalid_xsi(self): (source)

Undocumented

def test_data_element_data_element_arg_pytype(self): (source)

Undocumented

def test_data_element_data_element_arg_pytype_none(self): (source)

Undocumented

def test_data_element_data_element_arg_pytype_xsitype(self): (source)

Undocumented

def test_data_element_data_element_arg_xsitype(self): (source)

Undocumented

def test_data_element_element_arg(self): (source)

Undocumented

def test_data_element_float(self): (source)

Undocumented

def test_data_element_float_hash(self): (source)

Undocumented

def test_data_element_float_hash_repr(self): (source)

Undocumented

def test_data_element_float_precision(self): (source)

Undocumented

def test_data_element_float_special_value_text(self): (source)

Undocumented

def test_data_element_int(self): (source)

Undocumented

def test_data_element_int_hash(self): (source)

Undocumented

def test_data_element_invalid_pytype(self): (source)

Undocumented

def test_data_element_invalid_xsi(self): (source)

Undocumented

def test_data_element_NoneType(self): (source)

Undocumented

def test_data_element_nsmap_custom(self): (source)

Undocumented

def test_data_element_nsmap_custom_prefixes(self): (source)

Undocumented

def test_data_element_nsmap_default(self): (source)

Undocumented

def test_data_element_nsmap_empty(self): (source)

Undocumented

def test_data_element_pytype_none(self): (source)

Undocumented

def test_data_element_pytype_none_compat(self): (source)

Undocumented

def test_data_element_pytypes(self): (source)

Undocumented

def test_data_element_str(self): (source)

Undocumented

def test_data_element_str_floatliteral(self): (source)

Undocumented

def test_data_element_str_intliteral(self): (source)

Undocumented

def test_data_element_unregistered(self): (source)

Undocumented

def test_data_element_ustr(self): (source)

Undocumented

def test_data_element_ustr_floatliteral(self): (source)

Undocumented

def test_data_element_ustr_intliteral(self): (source)

Undocumented

def test_data_element_xsitypes(self): (source)

Undocumented

def test_data_element_xsitypes_prefixed(self): (source)

Undocumented

def test_data_element_xsitypes_xsdprefixed(self): (source)

Undocumented

def test_dataelement_xsi(self): (source)

Undocumented

def test_dataelement_xsi_nsmap(self): (source)

Undocumented

def test_dataelement_xsi_prefix_error(self): (source)

Undocumented

def test_date_element_efactory_tail(self): (source)

Undocumented

def test_date_element_efactory_text(self): (source)

Undocumented

def test_deannotate(self): (source)

Undocumented

def test_delitem_index(self): (source)

Undocumented

def test_descendant_paths(self): (source)

Undocumented

def test_descendant_paths_child(self): (source)

Undocumented

def test_descendant_paths_prefix(self): (source)

Undocumented

def test_dir(self): (source)

Undocumented

def test_efactory_attrib(self): (source)

Undocumented

def test_efactory_bool(self): (source)

Undocumented

def test_efactory_float(self): (source)

Undocumented

def test_efactory_int(self): (source)

Undocumented

def test_efactory_nested(self): (source)

Undocumented

def test_efactory_none(self): (source)

Undocumented

def test_efactory_str(self): (source)

Undocumented

def test_efactory_subtype(self): (source)

Undocumented

def test_efactory_unicode(self): (source)

Undocumented

def test_efactory_value_concatenation(self): (source)

Undocumented

def test_element_nsmap_custom(self): (source)

Undocumented

def test_element_nsmap_custom_prefixes(self): (source)

Undocumented

def test_element_nsmap_default(self): (source)

Undocumented

def test_element_nsmap_empty(self): (source)

Undocumented

def test_findall(self): (source)

Undocumented

def test_findall_ns(self): (source)

Undocumented

def test_getslice_complete(self): (source)

Undocumented

def test_getslice_partial(self): (source)

Undocumented

def test_getslice_partial_neg(self): (source)

Undocumented

def test_object_path(self): (source)

Undocumented

def test_object_path_addattr(self): (source)

Undocumented

def test_object_path_addattr_create(self): (source)

Undocumented

def test_object_path_addattr_create_element(self): (source)

Undocumented

def test_object_path_addattr_create_list(self): (source)

Undocumented

def test_object_path_addattr_element(self): (source)

Undocumented

def test_object_path_default_absolute(self): (source)

Undocumented

def test_object_path_default_relative(self): (source)

Undocumented

def test_object_path_dot(self): (source)

Undocumented

def test_object_path_dot_list(self): (source)

Undocumented

def test_object_path_dot_root(self): (source)

Undocumented

def test_object_path_dot_root_list(self): (source)

Undocumented

def test_object_path_fail(self): (source)

Undocumented

def test_object_path_fail_parse_empty(self): (source)

Undocumented

def test_object_path_fail_parse_empty_list(self): (source)

Undocumented

def test_object_path_hasattr(self): (source)

Undocumented

def test_object_path_index(self): (source)

Undocumented

def test_object_path_index_fail_lookup(self): (source)

Undocumented

def test_object_path_index_fail_parse(self): (source)

Undocumented

def test_object_path_index_list(self): (source)

Undocumented

def test_object_path_list(self): (source)

Undocumented

def test_object_path_ns(self): (source)

Undocumented

def test_object_path_ns_list(self): (source)

Undocumented

def test_object_path_set(self): (source)

Undocumented

def test_object_path_set_create(self): (source)

Undocumented

def test_object_path_set_create_element(self): (source)

Undocumented

def test_object_path_set_create_list(self): (source)

Undocumented

def test_object_path_set_element(self): (source)

Undocumented

def test_object_path_syntax(self): (source)

Undocumented

def test_parse_base_url_docinfo(self): (source)

Undocumented

def test_parse_stringio_base_url(self): (source)

Undocumented

def test_pickle(self): (source)

Undocumented

def test_pickle_boolelement(self): (source)

Undocumented

def test_pickle_elementtree(self): (source)

Undocumented

def test_pickle_floattelement(self): (source)

Undocumented

def test_pickle_intelement(self): (source)

Undocumented

def test_pickle_noneelement(self): (source)

Undocumented

def test_pickle_strelement(self): (source)

Undocumented

def test_pyannotate_empty(self): (source)

Undocumented

def test_pyannotate_ignore_old(self): (source)

Undocumented

def test_pyannotate_use_old(self): (source)

Undocumented

def test_pytype_annotation(self): (source)

Undocumented

def test_pytype_annotation_empty(self): (source)

Undocumented

def test_pytype_annotation_use_old(self): (source)

Undocumented

def test_pytype_deannotate(self): (source)

Undocumented

def test_pytype_xsitype_annotation(self): (source)

Undocumented

def test_registered_type_stringify(self): (source)

Undocumented

def test_registered_types(self): (source)

Undocumented

def test_root(self): (source)

Undocumented

def test_schema_types(self): (source)

Undocumented

def test_schema_types_prefixed(self): (source)

Undocumented

def test_set_string(self): (source)

Undocumented

def test_setattr(self): (source)

Undocumented

def test_setattr_nonunicode(self): (source)

Undocumented

def test_setitem_index(self): (source)

Undocumented

def test_setitem_string(self): (source)

Undocumented

def test_setitem_string_special(self): (source)

Undocumented

def test_setslice_complete(self): (source)

Undocumented

def test_setslice_elements(self): (source)

Undocumented

def test_setslice_empty(self): (source)

Undocumented

def test_setslice_insert(self): (source)

Undocumented

def test_setslice_insert_neg(self): (source)

Undocumented

def test_setslice_partial(self): (source)

Undocumented

def test_setslice_partial_allneg(self): (source)

Undocumented

def test_setslice_partial_neg(self): (source)

Undocumented

def test_setslice_partial_wrong_length(self): (source)

Undocumented

def test_standard_lookup(self): (source)

Undocumented

def test_standard_lookup_fuzz(self): (source)

Undocumented

def test_str(self): (source)

Undocumented

def test_sub_data_element_nsmap_custom(self): (source)

Undocumented

def test_sub_data_element_nsmap_custom_prefixes(self): (source)

Undocumented

def test_sub_data_element_nsmap_default(self): (source)

Undocumented

def test_sub_data_element_nsmap_empty(self): (source)

Undocumented

def test_sub_element_nsmap_custom(self): (source)

Undocumented

def test_sub_element_nsmap_custom_prefixes(self): (source)

Undocumented

def test_sub_element_nsmap_default(self): (source)

Undocumented

def test_sub_element_nsmap_empty(self): (source)

Undocumented

def test_type_bool(self): (source)

Undocumented

def test_type_bool_cmp(self): (source)

Undocumented

def test_type_float(self): (source)

Undocumented

def test_type_float_instantiation_precision(self): (source)

Undocumented

def test_type_float_precision(self): (source)

Undocumented

def test_type_float_precision_consistency(self): (source)

Undocumented

def test_type_int(self): (source)

Undocumented

def test_type_int_cmp(self): (source)

Undocumented

def test_type_none_cmp(self): (source)

Undocumented

def test_type_NoneType(self): (source)

Undocumented

def test_type_str(self): (source)

Undocumented

def test_type_str_add(self): (source)

Undocumented

def test_type_str_as_complex(self): (source)

Undocumented

def test_type_str_as_float(self): (source)

Undocumented

def test_type_str_as_int(self): (source)

Undocumented

def test_type_str_cmp(self): (source)

Undocumented

def test_type_str_floatliteral(self): (source)

Undocumented

def test_type_str_hash(self): (source)

Undocumented

def test_type_str_intliteral(self): (source)

Undocumented

def test_type_str_mod(self): (source)

Undocumented

def test_type_str_mod_data_elements(self): (source)

Undocumented

def test_type_str_mul(self): (source)

Undocumented

def test_type_str_sequence(self): (source)

Undocumented

def test_type_unregistered(self): (source)

Undocumented

def test_type_ustr(self): (source)

Undocumented

def test_type_ustr_add(self): (source)

Undocumented

def test_type_ustr_floatliteral(self): (source)

Undocumented

def test_type_ustr_intliteral(self): (source)

Undocumented

def test_type_ustr_mul(self): (source)

Undocumented

def test_vars(self): (source)

Undocumented

def test_xml_base(self): (source)

Undocumented

def test_xml_base_attribute(self): (source)

Undocumented

def test_XML_base_url_docinfo(self): (source)

Undocumented

def test_XML_set_base_url_docinfo(self): (source)

Undocumented

def test_xsiannotate_ignore_old(self): (source)

Undocumented

def test_xsiannotate_use_old(self): (source)

Undocumented

def test_xsinil_deannotate(self): (source)

Undocumented

def test_xsitype_deannotate(self): (source)

Undocumented

def XML(self, xml): (source)

Undocumented

Undocumented

Undocumented

Undocumented

def _test_pickle(self, stringOrElt): (source)

Undocumented

_orig_types = (source)

Undocumented