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

Method test_xinclude_default

Lib/test/test_xml_etree.py:2021–2033  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2019
2020 @unittest.expectedFailure # TODO: RUSTPYTHON
2021 def test_xinclude_default(self):
2022 from xml.etree import ElementInclude
2023 doc = self.xinclude_loader('default.xml')
2024 ElementInclude.include(doc, self._my_loader)
2025 self.assertEqual(serialize(doc),
2026 '<document>\n'
2027 ' <p>Example.</p>\n'
2028 ' <root>\n'
2029 ' <element key="value">text</element>\n'
2030 ' <element>text</element>tail\n'
2031 ' <empty-element />\n'
2032 '</root>\n'
2033 '</document>')
2034
2035 @unittest.expectedFailure # TODO: RUSTPYTHON
2036 def test_xinclude(self):

Callers

nothing calls this directly

Calls 3

xinclude_loaderMethod · 0.95
serializeFunction · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected