Home | History | Annotate | Download | only in test

Lines Matching refs:Node

37 from xml.dom import minidom, Node
53 Asserts that actual_node (a DOM node object) is equivalent to
54 expected_node (another DOM node object), in that either both of
69 if expected_node.nodeType == Node.CDATA_SECTION_NODE:
70 self.assertEquals(Node.CDATA_SECTION_NODE, actual_node.nodeType)
74 self.assertEquals(Node.ELEMENT_NODE, actual_node.nodeType)
75 self.assertEquals(Node.ELEMENT_NODE, expected_node.nodeType)
122 attributes are encountered, or if any other type of node is encountered.
127 if child.nodeType == Node.ELEMENT_NODE:
133 elif child.nodeType in [Node.TEXT_NODE, Node.CDATA_SECTION_NODE]:
135 if (child.nodeType == Node.CDATA_SECTION_NODE or
142 self.fail("Encountered unexpected node type %d" % child.nodeType)
164 if child.nodeType == Node.CDATA_SECTION_NODE:
171 if child.nodeType == Node.ELEMENT_NODE: