def test_parse_prompts_from_xml(self, data): xml = etree.fromstring("".join(data["xml"])) prompts = _parse_prompts_xml(xml) self.assertEqual(prompts, data["prompts"])
def test_parse_prompts_from_xml(self, data): xml = etree.fromstring("".join(data['xml'])) prompts = _parse_prompts_xml(xml) self.assertEqual(prompts, data['prompts'])