class ETreeXMLSchemaTestCase(HelperTestCase):
Undocumented
Inherited from HelperTestCase
:
Method | parse |
Undocumented |
Method | tearDown |
Undocumented |
Method | _rootstring |
Undocumented |
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.