def test_get_user_sets(db_conn, session, sets_table, users_sets_table):

    prep(sets_table, users_sets_table, db_conn)
    request = {
        'cookies': {'session_id': session},
        'params': {},
        'db_conn': db_conn,
    }
    code, response = routes.user_sets.get_user_sets_route(request, 'abcd1234')
    assert code == 200
    assert len(response['sets']) == 2
    assert response['sets'][0]['body'] in ('Apple', 'Coconut')
Expect to get a list of the user's sets.
dataset/ETHPy150Open heiskr/sagefy/server/test/test_routes_user_sets.py/test_get_user_sets