def test_mark(db_conn, session, notices_table):
    notice, errors = Notice.insert(db_conn, {
        'user_id': 'abcd1234',
        'kind': 'create_proposal',
        'data': {
            'user_name': '',
            'proposal_name': '',
            'entity_kind': '',
            'entity_name': '',
        }
    })
    nid = notice['id']

    request = {
        'cookies': {'session_id': session},
        'params': {'read': True},
        'db_conn': db_conn
    }
    code, response = routes.notice.mark_notice_route(request, nid)
    assert code == 200
    assert response['notice']['read'] is True
    record = notices_table.get(nid).run(db_conn)
    assert record['read'] is True
Initializes client id and client secret based on the settings
dataset/ETHPy150Open heiskr/sagefy/server/test/test_routes_notice.py/test_mark--crossover with--dataset/ETHPy150Open google/oauth2client/oauth2client/contrib/django_util/__init__.py/_get_oauth2_client_id_and_secret