def METHOD_NAME(self, name, machine):
    resource = 'parsers/tests/cpuinfo_data/{}.txt'.format(name)
    filename = resource_filename('checkbox_support', resource)
    with open(filename, 'rt', encoding='UTF-8') as stream:
        parser = CpuinfoParser(stream, machine)
        result = CpuinfoResult()
        parser.run(result)
    # Before returning, do basic sanity checks on processors
    self.sanity_checks(result.processors)
    return result