예제 #1
0
def show_sessionservice():
    return render_template('sessions/SessionService.1.0.0.json',
                           state='enabled',
                           health='OK',
                           session_timeout=Session.get_timeout())
def test_get_timeout():
    assert Session.get_timeout() == Session._Session__session_timeout_min
예제 #3
0
파일: views.py 프로젝트: jloeser/bluebird
def show_sessionservice():
    return render_template('sessions/SessionService.1.0.0.json',
            state='enabled',
            health='OK',
            session_timeout=Session.get_timeout()
    )