#NEWLINE# def test_do_check_session_request( self ) : #NEWLINE# #INDENT# alg = 'RS256' #NEWLINE# ktyp = alg2keytype ( alg ) #NEWLINE# _sign_key = self . client . keyjar . get_signing_key ( ktyp ) #NEWLINE# args = { #NEWLINE# #INDENT# 'id_token' : IDTOKEN . to_jwt ( key = _sign_key , algorithm = alg ) , #NEWLINE# #UNINDENT# } #NEWLINE# resp = self . client . do_check_session_request ( request_args = args ) #NEWLINE# assert isinstance ( resp , IdToken ) #NEWLINE# assert _eq ( resp . keys ( ) , [ 'nonce' , 'sub' , 'aud' , 'iss' , 'exp' , 'iat' ] )