def assert_inner_resource(self, resource_id, xml): self.assertEqual( resource_id, clone.get_inner_resource(etree.fromstring(xml)).get("id", ""), )
def assert_inner_resource(self, resource_id, xml): self.assertEqual( resource_id, clone.get_inner_resource(etree.fromstring(xml)).get("id", "") )