def METHOD_NAME(self, folder, f):
    file = os.path.join(
        os.path.dirname(__file__), '..', 'data', folder, f)
    serializer = XmlSerializer()
    with open(file) as fp:
        xml = etree.parse(fp).getroot()
    self.wf_spec = WorkflowSpec.deserialize(
        serializer, xml, filename=file)
    self.workflow = Workflow(self.wf_spec)