Ejemplo n.º 1
0
 def test_parse_assessments_from_xml(self, data):
     xml = etree.fromstring("".join(data["xml"]))
     assessments = parse_assessments_xml(xml)
     self.assertEqual(assessments, data["assessments"])
Ejemplo n.º 2
0
 def test_parse_assessments_from_xml(self, data):
     xml = etree.fromstring("".join(data['xml']))
     assessments = parse_assessments_xml(xml)
     self.assertEqual(assessments, data['assessments'])