(self)
| 217 | self.assertEqual(elem.getAttribute("id"), "test-id") |
| 218 | |
| 219 | def testAppendChildFragment(self): |
| 220 | dom, orig, c1, c2, c3, frag = self._create_fragment_test_nodes() |
| 221 | dom.documentElement.appendChild(frag) |
| 222 | self.assertTupleEqual(tuple(dom.documentElement.childNodes), |
| 223 | (orig, c1, c2, c3), |
| 224 | "appendChild(<fragment>)") |
| 225 | frag.unlink() |
| 226 | dom.unlink() |
| 227 | |
| 228 | def testReplaceChildFragment(self): |
| 229 | dom, orig, c1, c2, c3, frag = self._create_fragment_test_nodes() |
nothing calls this directly
no test coverage detected