Package lxml :: Package tests :: Module test_objectify :: Class ObjectifyTestCase |
[hide private]
[frames] | no frames]

# Class ObjectifyTestCase

source code

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

Test cases for lxml.objectify

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

Instance Methods | [hide private]
XML(self, xml) | source code
setUp(self) Hook method for setting up the test fixture before exercising it. | source code
tearDown(self) Hook method for deconstructing the test fixture after testing it. | source code
test_element_nsmap_default(self) | source code
test_element_nsmap_empty(self) | source code
test_element_nsmap_custom_prefixes(self) | source code
test_element_nsmap_custom(self) | source code
test_sub_element_nsmap_default(self) | source code
test_sub_element_nsmap_empty(self) | source code
test_sub_element_nsmap_custom_prefixes(self) | source code
test_sub_element_nsmap_custom(self) | source code
test_data_element_nsmap_default(self) | source code
test_data_element_nsmap_empty(self) | source code
test_data_element_nsmap_custom_prefixes(self) | source code
test_data_element_nsmap_custom(self) | source code
test_sub_data_element_nsmap_default(self) | source code
test_sub_data_element_nsmap_empty(self) | source code
test_sub_data_element_nsmap_custom_prefixes(self) | source code
test_sub_data_element_nsmap_custom(self) | source code
test_date_element_efactory_text(self) | source code
test_date_element_efactory_tail(self) | source code
test_data_element_attrib_attributes_precedence(self) | source code
test_data_element_data_element_arg(self) | source code
test_data_element_data_element_arg_pytype_none(self) | source code
test_data_element_data_element_arg_pytype(self) | source code
test_data_element_data_element_arg_xsitype(self) | source code
test_data_element_data_element_arg_pytype_xsitype(self) | source code
test_data_element_invalid_pytype(self) | source code
test_data_element_invalid_xsi(self) | source code
test_data_element_data_element_arg_invalid_pytype(self) | source code
test_data_element_data_element_arg_invalid_xsi(self) | source code
test_data_element_element_arg(self) | source code
test_root(self) | source code
test_str(self) | source code
test_child(self) | source code
test_child_ns_nons(self) | source code
test_countchildren(self) | source code
test_child_getattr(self) | source code
test_child_nonexistant(self) | source code
test_child_getattr_empty_ns(self) | source code
test_setattr(self) | source code
test_setattr_nonunicode(self) | source code
test_addattr(self) | source code
test_addattr_element(self) | source code
test_addattr_list(self) | source code
test_child_addattr(self) | source code
test_child_index(self) | source code
test_child_index_neg(self) | source code
test_child_len(self) | source code
test_child_iter(self) | source code
test_class_lookup(self) | source code
test_dir(self) | source code
test_vars(self) | source code
test_child_set_ro(self) | source code
test_getslice_complete(self) | source code
test_getslice_partial(self) | source code
test_getslice_partial_neg(self) | source code
test_setslice_complete(self) | source code
test_setslice_elements(self) | source code
test_setslice_partial(self) | source code
test_setslice_insert(self) | source code
test_setslice_insert_neg(self) | source code
test_setslice_empty(self) | source code
test_setslice_partial_wrong_length(self) | source code
test_setslice_partial_neg(self) | source code
test_setslice_partial_allneg(self) | source code
test_setitem_index(self) | source code
test_delitem_index(self) | source code
test_set_string(self) | source code
test_setitem_string(self) | source code
test_setitem_string_special(self) | source code
test_findall(self) | source code
test_findall_ns(self) | source code
test_build_tree(self) | source code
test_type_NoneType(self) | source code
test_data_element_NoneType(self) | source code
test_type_bool(self) | source code
test_data_element_bool(self) | source code
test_type_str(self) | source code
test_type_str_intliteral(self) | source code
test_type_str_floatliteral(self) | source code
test_type_str_mul(self) | source code
test_type_str_add(self) | source code
test_type_str_mod(self) | source code
test_type_str_hash(self) | source code
test_type_str_as_int(self) | source code
test_type_str_as_float(self) | source code
test_type_str_as_complex(self) | source code
test_type_str_mod_data_elements(self) | source code
test_data_element_str(self) | source code
test_data_element_str_intliteral(self) | source code
test_data_element_str_floatliteral(self) | source code
test_type_ustr(self) | source code
test_type_ustr_intliteral(self) | source code
test_type_ustr_floatliteral(self) | source code
test_type_ustr_mul(self) | source code
test_type_ustr_add(self) | source code
test_data_element_ustr(self) | source code
test_data_element_ustr_intliteral(self) | source code
test_data_element_ustr_floatliteral(self) | source code
test_type_int(self) | source code
test_data_element_int(self) | source code
test_data_element_int_hash(self) | source code
test_type_float(self) | source code
test_data_element_float(self) | source code
test_data_element_float_hash(self) | source code
test_type_float_precision(self) | source code
test_type_float_instantiation_precision(self) | source code
test_type_float_precision_consistency(self) | source code
test_data_element_float_precision(self) | source code
test_data_element_float_hash_repr(self) | source code
test_data_element_xsitypes(self) | source code
test_data_element_xsitypes_xsdprefixed(self) | source code
test_data_element_xsitypes_prefixed(self) | source code
test_data_element_pytypes(self) | source code
test_data_element_pytype_none(self) | source code
test_data_element_pytype_none_compat(self) | source code
test_type_unregistered(self) | source code
test_data_element_unregistered(self) | source code
test_schema_types(self) | source code
test_schema_types_prefixed(self) | source code
test_type_str_sequence(self) | source code
test_type_str_cmp(self) | source code
test_type_int_cmp(self) | source code
test_type_bool_cmp(self) | source code
test_type_none_cmp(self) | source code
test_dataelement_xsi(self) | source code
test_dataelement_xsi_nsmap(self) | source code
test_dataelement_xsi_prefix_error(self) | source code
test_pytype_annotation(self) | source code
test_pytype_annotation_empty(self) | source code
test_pytype_annotation_use_old(self) | source code
test_pytype_xsitype_annotation(self) | source code
test_xsiannotate_use_old(self) | source code
test_pyannotate_ignore_old(self) | source code
test_pyannotate_empty(self) | source code
test_pyannotate_use_old(self) | source code
test_xsiannotate_ignore_old(self) | source code
test_deannotate(self) | source code
test_xsinil_deannotate(self) | source code
test_xsitype_deannotate(self) | source code
test_pytype_deannotate(self) | source code
test_change_pytype_attribute(self) | source code
test_registered_types(self) | source code
test_registered_type_stringify(self) | source code
test_object_path(self) | source code
test_object_path_list(self) | source code
test_object_path_fail(self) | source code
test_object_path_default_absolute(self) | source code
test_object_path_default_relative(self) | source code
test_object_path_syntax(self) | source code
test_object_path_fail_parse_empty(self) | source code
test_object_path_fail_parse_empty_list(self) | source code
test_object_path_hasattr(self) | source code
test_object_path_dot(self) | source code
test_object_path_dot_list(self) | source code
test_object_path_dot_root(self) | source code
test_object_path_dot_root_list(self) | source code
test_object_path_index(self) | source code
test_object_path_index_list(self) | source code
test_object_path_index_fail_parse(self) | source code
test_object_path_index_fail_lookup(self) | source code
test_object_path_ns(self) | source code
test_object_path_ns_list(self) | source code
test_object_path_set(self) | source code
test_object_path_set_element(self) | source code
test_object_path_set_create(self) | source code
test_object_path_set_create_element(self) | source code
test_object_path_set_create_list(self) | source code
test_object_path_addattr(self) | source code
test_object_path_addattr_element(self) | source code
test_object_path_addattr_create(self) | source code
test_object_path_addattr_create_element(self) | source code
test_object_path_addattr_create_list(self) | source code
test_descendant_paths(self) | source code
test_descendant_paths_child(self) | source code
test_descendant_paths_prefix(self) | source code
test_pickle(self) | source code
test_pickle_elementtree(self) | source code
test_pickle_intelement(self) | source code
test_pickle_floattelement(self) | source code
test_pickle_strelement(self) | source code
test_pickle_boolelement(self) | source code
test_pickle_noneelement(self) | source code
_test_pickle(self, stringOrElt) | source code
test_efactory_int(self) | source code
test_efactory_float(self) | source code
test_efactory_str(self) | source code
test_efactory_unicode(self) | source code
test_efactory_bool(self) | source code
test_efactory_none(self) | source code
test_efactory_value_concatenation(self) | source code
test_efactory_attrib(self) | source code
test_efactory_nested(self) | source code
test_efactory_subtype(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_xml_base(self) | source code
test_xml_base_attribute(self) | source code
test_standard_lookup(self) | source code
Inherited from `common_imports.HelperTestCase`: `parse` 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`, `assertFalse`, `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`, `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 `unittest.case.TestCase`: `longMessage`, `maxDiff` Inherited from `unittest.case.TestCase` (private): `_classSetupFailed`, `_diffThreshold`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### setUp(self) | source code
Hook method for setting up the test fixture before exercising it. Overrides: unittest.case.TestCase.setUp (inherited documentation)

### tearDown(self) | source code
Hook method for deconstructing the test fixture after testing it. Overrides: unittest.case.TestCase.tearDown (inherited documentation)

Class Variable Details | [hide private]

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