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

Class ObjectifyTestCase

source code

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

Test cases for lxml.objectify

Nested Classes [hide private]

Inherited from unittest.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_data_element_attrib_attributes_precedence(self) source code
 
test_data_element_data_element_arg(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_root(self) source code
 
test_str(self) source code
 
test_child(self) source code
 
test_countchildren(self) source code
 
test_child_getattr(self) source code
 
test_child_nonexistant(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_setslice(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_none(self) source code
 
test_data_element_none(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_mul(self) source code
 
test_type_str_add(self) source code
 
test_data_element_str(self) source code
 
test_type_int(self) source code
 
test_data_element_int(self) source code
 
test_type_float(self) source code
 
test_data_element_float(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_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_type_str_mod(self) source code
 
test_pytype_annotation(self) source code
 
test_pytype_annotation_use_old(self) source code
 
test_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_object_path(self) source code
 
test_object_path_list(self) source code
 
test_object_path_fail(self) source code
 
test_object_path_syntax(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

Inherited from common_imports.HelperTestCase: parse

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, 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__

Method Details [hide private]

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 

Hook method for deconstructing the test fixture after testing it.

Overrides: unittest.TestCase.tearDown
(inherited documentation)

Class Variable Details [hide private]

etree

Value:
lxml.etree