#NEWLINE# def assert_redirect_parameters_keys( url , redirect_uri , parameters_keys ) : #NEWLINE# #INDENT# ( host , params ) = get_parameters_from_redirect ( url ) #NEWLINE# assert ( redirect_uri == host ) #NEWLINE# assert ( sorted ( parameters_keys ) == sorted ( params . keys ( ) ) )