#NEWLINE# def test_connection_from_url( self ) : #NEWLINE# #INDENT# connection = get_connection ( 'high' ) #NEWLINE# connection_kwargs = connection_kwargs . connection_pool . connection_kwargs #NEWLINE# self . assertEqual ( connection_kwargs . get ( 'host' ) , 'localhost' ) #NEWLINE# self . assertEqual ( connection_kwargs . get ( 'port' ) , 6379 ) #NEWLINE# self . assertEqual ( connection_kwargs . get ( 'db' ) , 3 )