MCPcopy Index your code
hub / github.com/RustPython/RustPython / testAttributeRepr

Method testAttributeRepr

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

Source from the content-addressed store, hash-verified

547 dom.unlink()
548
549 def testAttributeRepr(self):
550 dom = Document()
551 el = dom.appendChild(dom.createElement("abc"))
552 node = el.setAttribute("abc", "def")
553 self.assertEqual(str(node), repr(node))
554 dom.unlink()
555
556 @unittest.expectedFailure # TODO: RUSTPYTHON
557 def testWriteXML(self):

Callers

nothing calls this directly

Calls 8

appendChildMethod · 0.95
createElementMethod · 0.95
unlinkMethod · 0.95
DocumentClass · 0.90
strFunction · 0.85
reprFunction · 0.85
setAttributeMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected