Пример #1
0
 def assert_inner_resource(self, resource_id, xml):
     self.assertEqual(
         resource_id,
         bundle.get_inner_resource(etree.fromstring(xml)).get("id", "")
     )
Пример #2
0
 def assert_inner_resource(self, resource_id, xml):
     self.assertEqual(
         resource_id,
         bundle.get_inner_resource(etree.fromstring(xml)).get("id", ""))