def upload_one_sheet(client, file):
    """
    Uploads a single sheet to the server.

    :param client: The test client to make the request with
    :param file: The file meant to be uploaded
    :return: The response of the server
    """
    data = dict(
        file_1=(open(file, 'rb'),
                'sheet.xlsx')
    )

    return client.post('/api/sheets/',
                       content_type='multipart/form-data',
                       data=data)