def assertChildNodes(self, elem, expected):
    actual = set((n.nodeName for n in elem.childNodes))
    expected = set(expected)
    self.assertEqual(actual, expected)
def assertChildNodes(self, elem, expected):
    actual = set((n.nodeName for n in elem.childNodes))
    expected = set(expected)
    self.assertEqual(actual, expected)