class documentation

class ETreeXMLSchemaTestCase(HelperTestCase):

View In Hierarchy

Undocumented

Method test​_create​_from​_partial​_doc Undocumented
Method test​_xmlschema Undocumented
Method test​_xmlschema​_comment​_error Undocumented
Method test​_xmlschema​_default​_attributes Undocumented
Method test​_xmlschema​_elementtree​_error Undocumented
Method test​_xmlschema​_error​_log Undocumented
Method test​_xmlschema​_error​_log​_path No summary
Method test​_xmlschema​_file Undocumented
Method test​_xmlschema​_illegal​_validation​_error Undocumented
Method test​_xmlschema​_import​_file Undocumented
Method test​_xmlschema​_invalid​_schema1 Undocumented
Method test​_xmlschema​_invalid​_schema2 Undocumented
Method test​_xmlschema​_iterparse Undocumented
Method test​_xmlschema​_iterparse​_fail Undocumented
Method test​_xmlschema​_iterparse​_incomplete Undocumented
Method test​_xmlschema​_parse Undocumented
Method test​_xmlschema​_parse​_default​_attributes Undocumented
Method test​_xmlschema​_parse​_default​_attributes​_schema​_config Undocumented
Method test​_xmlschema​_parse​_fixed​_attributes Undocumented
Method test​_xmlschema​_shortcut Undocumented
Method test​_xmlschema​_stringio Undocumented

Inherited from HelperTestCase:

Method parse Undocumented
Method tear​Down Undocumented
Method ​_rootstring Undocumented
def test_create_from_partial_doc(self):

Undocumented

def test_xmlschema(self):

Undocumented

def test_xmlschema_comment_error(self):

Undocumented

def test_xmlschema_default_attributes(self):

Undocumented

def test_xmlschema_elementtree_error(self):

Undocumented

def test_xmlschema_error_log(self):

Undocumented

def test_xmlschema_error_log_path(self):

We don't have a guarantee that there will always be a path for a _LogEntry object (or even a node for which to determine a path), but at least when this test was created schema validation errors always got a node and an XPath value. If that ever changes, we can modify this test to something like:

self.assertTrue(error_path is None or tree_path == error_path)

That way, we can at least verify that if we did get a path value it wasn't bogus.

def test_xmlschema_file(self):

Undocumented

def test_xmlschema_illegal_validation_error(self):

Undocumented

def test_xmlschema_import_file(self):

Undocumented

def test_xmlschema_invalid_schema1(self):

Undocumented

def test_xmlschema_invalid_schema2(self):

Undocumented

def test_xmlschema_iterparse(self):

Undocumented

def test_xmlschema_iterparse_fail(self):

Undocumented

def test_xmlschema_iterparse_incomplete(self):

Undocumented

def test_xmlschema_parse(self):

Undocumented

def test_xmlschema_parse_default_attributes(self):

Undocumented

def test_xmlschema_parse_default_attributes_schema_config(self):

Undocumented

def test_xmlschema_parse_fixed_attributes(self):

Undocumented

def test_xmlschema_shortcut(self):

Undocumented

def test_xmlschema_stringio(self):

Undocumented