def METHOD_NAME(self):
    result = self._run_xml_through_task(
        xml="<root>a<todelete/></root>",
        options={"xpath": "todelete", "path": "test.xml"},
    )
    assert '<?xml version="1.0" encoding="UTF-8"?>\n<root>a</root>\n' == result