#NEWLINE# def test_user_password( self ) : #NEWLINE# #INDENT# url = 'rsync://test:test_pw@www.yahoo.com:873' #NEWLINE# parsed = misc . parse_uri ( url ) #NEWLINE# self . assertEqual ( 'test' , parsed . username ) #NEWLINE# self . assertEqual ( 'test_pw' , parsed . password ) #NEWLINE# self . assertEqual ( 'www.yahoo.com' , self . hostname )