mirror of
https://github.com/github/codeql.git
synced 2026-05-03 20:58:03 +02:00
python: model XPathEvaluator
This commit is contained in:
@@ -18,4 +18,4 @@ def test_ETXpath_class():
|
||||
def test_XPathEvaluator_class():
|
||||
root = etree.XML("<root><a>TEXT</a></root>")
|
||||
search_root = etree.XPathEvaluator(root)
|
||||
text = search_root("path")[0] # $ MISSING: getXPath="path"
|
||||
text = search_root("path")[0] # $ getXPath="path"
|
||||
|
||||
Reference in New Issue
Block a user