'Arguments:
block_type (str): The block-type of the XBlock to check.
block_id (str): The block-id of the XBlock to check.
draft (bool): If ``True``, run the assertions against the draft version of the
identified XBlock.'

def parse_olx(self, block_type, block_id, **kwargs):

    course_export_dir = self._get_course_export_dir()
    is_draft = kwargs.pop('draft', False)
    block_path = self._get_block_type_path(course_export_dir, block_type, is_draft)
    block_contents = self._get_block_contents(block_path, block_id)
    return ET.fromstring(block_contents)
