def post_gene_data(client, data):
    """Helper function that returns ReturnValue.data from a given post to the "/" endpoint
    """
    with client:
        rv = client.post('/', data=data, follow_redirects=True)
        return rv.data