Package lxml :: Package tests :: Module test_xpathevaluator
[hide private]
[frames] | no frames]

Module test_xpathevaluator

source code

Test cases related to XPath evaluation and the XPath class
Classes [hide private]
  ETreeXPathTestCase
XPath tests etree
  ETreeXPathClassTestCase
Tests for the XPath class
  ETreeXPathExsltTestCase
Tests for the EXSLT support in XPath (requires libxslt 1.1.25+)
  ETreeETXPathClassTestCase
Tests for the ETXPath class
Functions [hide private]
 
tag(elem) source code
 
tag_or_value(elem) source code
 
stringTest(ctxt, s1) source code
 
stringListTest(ctxt, s1) source code
 
floatTest(ctxt, f1) source code
 
booleanTest(ctxt, b1) source code
 
setTest(ctxt, st1) source code
 
setTest2(ctxt, st1) source code
 
argsTest1(ctxt, s, f, b, st) source code
 
argsTest2(ctxt, st1, st2) source code
 
resultTypesTest(ctxt) source code
 
resultTypesTest2(ctxt) source code
 
xpath()
Test xpath extension functions.
source code
 
test_suite() source code
Variables [hide private]
  this_dir = '/home/stefan/source/Python/lxml/lxml-release/src/l...
  SAMPLE_XML = <lxml.etree._ElementTree object>
  uri = 'http://www.example.com/'
  extension = {(None, 'argsTest1'): <__builtin__.function object...
  __package__ = 'lxml.tests'
Variables Details [hide private]

this_dir

Value:
'/home/stefan/source/Python/lxml/lxml-release/src/lxml/tests'

extension

Value:
{(None, 'argsTest1'): <__builtin__.function object>,
 (None, 'argsTest2'): <__builtin__.function object>,
 (None, 'booleanTest'): <__builtin__.function object>,
 (None, 'floatTest'): <__builtin__.function object>,
 (None, 'resultTypesTest'): <__builtin__.function object>,
 (None, 'resultTypesTest2'): <__builtin__.function object>,
 (None, 'setTest'): <__builtin__.function object>,
 (None, 'setTest2'): <__builtin__.function object>,
...