#NEWLINE# def test_link_message( self ) : #NEWLINE# #INDENT# from wechatpy.messages import LinkMessage #NEWLINE# msg = LinkMessage ( { #NEWLINE# #INDENT# 'Title' : 'test' , #NEWLINE# 'Description' : 'test' , #NEWLINE# 'Url' : 'http://www.qq.com' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( 'test' , msg . title ) #NEWLINE# self . assertEqual ( 'test' , msg . description ) #NEWLINE# self . assertEqual ( 'http://www.qq.com' , msg . url )