import csv


def get_data_from_csv(csv_map):
    """Return the data of a csv file."""
    with open('tests/' + csv_map, encoding='utf-8') as csvfile:
        readCSV = csv.reader(csvfile, delimiter=',')
        result = []
        for row in readCSV:
            result.append(row)
        return result