[Python-checkins] CVS: python/dist/src/Lib/test test_minidom.py,1.26,1.27
Martin v. L?wis
loewis@users.sourceforge.net
Sun, 03 Jun 2001 07:27:04 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv27326
Modified Files:
test_minidom.py
Log Message:
Implement testGetElementsByTagNameNS.
Index: test_minidom.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_minidom.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** test_minidom.py 2001/02/21 07:29:48 1.26
--- test_minidom.py 2001/06/03 14:27:02 1.27
***************
*** 240,244 ****
def testGetAttributeNode(): pass
! def testGetElementsByTagNameNS(): pass
def testGetEmptyNodeListFromElementsByTagNameNS(): pass
--- 240,251 ----
def testGetAttributeNode(): 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