def METHOD_NAME(self, csv, lines):
    """Write a test csv file with the lines provided"""
    csv.write(b"username,current_email,desired_email\n")
    for line in lines:
        csv.write(line.encode())
    csv.seek(0)
    return csv