#NEWLINE# def test_parse_check_session_request( self ) : #NEWLINE# #INDENT# csreq = CheckSessionRequest ( id_token = IDTOKEN . to_jwt ( key = KC_SYM_S . get ( alg2keytype ( 'HS256' ) ) , algorithm = 'HS256' ) ) #NEWLINE# request = self . srv . parse_check_session_request ( query = csreq . to_urlencoded ( ) ) #NEWLINE# assert isinstance ( request , IdToken ) #NEWLINE# assert _eq ( request . keys ( ) , [ 'nonce' , 'sub' , 'aud' , 'iss' , 'exp' , 'iat' ] ) #NEWLINE# assert ( request [ 'aud' ] == [ 'client_1' ] )