#NEWLINE# def test_merge_user_password( self ) : #NEWLINE# #INDENT# url = 'http://josh:harlow@www.yahoo.com/' #NEWLINE# parsed = misc . parse_uri ( url ) #NEWLINE# joined = misc . merge_uri ( joined , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( 'www.yahoo.com' , joined . get ( 'hostname' ) ) #NEWLINE# self . assertEqual ( 'josh' , joined . get ( 'username' ) ) #NEWLINE# self . assertEqual ( 'harlow' , joined . get ( 'password' ) )