confirm(string1 == string2)
confirm(string1.find("slash:abc") != -1)
dom.unlink()
- confirm(len(Node.allnodes) == 0)
def testAttributeRepr():
dom = Document()
node = el.setAttribute("abc", "def")
confirm(str(node) == repr(node))
dom.unlink()
- confirm(len(Node.allnodes) == 0)
def testTextNodeRepr(): pass
domstr = dom.toxml()
dom.unlink()
confirm(str == domstr)
- confirm(len(Node.allnodes) == 0)
def testProcessingInstruction(): pass