MCPcopy Index your code
hub / github.com/python/cpython / testGetElementsByTagName

Method testGetElementsByTagName

Lib/test/test_minidom.py:93–97  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

91 self.assertEqual(attr.localName, attr.name)
92
93 def testGetElementsByTagName(self):
94 dom = parse(tstfile)
95 self.assertEqual(dom.getElementsByTagName("LI"),
96 dom.documentElement.getElementsByTagName("LI"))
97 dom.unlink()
98
99 def testInsertBefore(self):
100 dom = parseString("<doc><foo/></doc>")

Callers

nothing calls this directly

Calls 4

parseFunction · 0.90
assertEqualMethod · 0.45
getElementsByTagNameMethod · 0.45
unlinkMethod · 0.45

Tested by

no test coverage detected