#NEWLINE# def test_request_params_client_backend( self ) : #NEWLINE# #INDENT# request = type ( 'Request' , ( object , ) , { #NEWLINE# #INDENT# 'REQUEST' : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) ( ) #NEWLINE# request . REQUEST [ 'client_id' ] = self . get_client ( ) . client_id #NEWLINE# request . REQUEST [ 'client_secret' ] = self . get_client ( ) . client_secret #NEWLINE# self . assertEqual ( RequestParamsClientBackend ( ) . authenticate ( self ) . id , 2 , "Didn't return the right client.'" )