def test_list_no_user(db_conn):

    request = {
        'params': {},
        'db_conn': db_conn
    }
    code, response = routes.notice.list_notices_route(request)
    assert code == 401
Expect to get an error if not logged in.
dataset/ETHPy150Open heiskr/sagefy/server/test/test_routes_notice.py/test_list_no_user