'Given test_data dictionary, parse it using PCIDevicesInfoParser.'

def _ParsePCIDeviceTestData(self, test_data):

    parser = linux_file_parser.PCIDevicesInfoParser()
    stats = []
    file_objs = []
    kb_objs = []
    for (filename, data) in test_data.items():
        pathspec = rdf_paths.PathSpec(path=filename, pathtype='OS')
        stat = rdf_client.StatEntry(pathspec=pathspec)
        file_obj = StringIO.StringIO(data)
        stats.append(stat)
        file_objs.append(file_obj)
        kb_objs.append(None)
    return list(parser.ParseMultiple(stats, file_objs, kb_objs))
