Пример #1
0
 def test_serialize_assessments(self, data):
     self._configure_xblock(data)
     xml_str = serialize_assessments_to_xml_str(self.oa_block)
     self.assertIn(data["assessments"][0]["name"], xml_str)
Пример #2
0
 def test_serialize_assessments(self, data):
     self._configure_xblock(data)
     xml_str = serialize_assessments_to_xml_str(self.oa_block)
     self.assertIn(data['assessments'][0]['name'], xml_str)