Commit 205fb5fe authored by Martin v. Löwis's avatar Martin v. Löwis

Implement testGetElementsByTagNameNS.

parent 8e02bfeb
......@@ -110,6 +110,7 @@ Passed assertion: len(Node.allnodes) == 0
Passed Test
Test Succeeded testGetElementsByTagName
Passed assertion: len(Node.allnodes) == 0
Passed Test
Test Succeeded testGetElementsByTagNameNS
Passed assertion: len(Node.allnodes) == 0
Test Succeeded testGetEmptyNodeListFromElementsByTagNameNS
......
......@@ -239,7 +239,14 @@ def testGetAttributeNS(): pass
def testGetAttributeNode(): pass
def testGetElementsByTagNameNS(): pass
def testGetElementsByTagNameNS():
d="""<foo xmlns:minidom="http://pyxml.sf.net/minidom">
<minidom:myelem/>
</foo>"""
dom = parseString(d)
elem = dom.getElementsByTagNameNS("http://pyxml.sf.net/minidom","myelem")
confirm(len(elem) == 1)
dom.unlink()
def testGetEmptyNodeListFromElementsByTagNameNS(): pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment