#NEWLINE# def test_video_message( self ) : #NEWLINE# #INDENT# from wechatpy.messages import VideoMessage #NEWLINE# msg = VideoMessage ( { #NEWLINE# #INDENT# 'MediaId' : '123456' , #NEWLINE# 'ThumbMediaId' : '123456' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( '123456' , msg . media_id ) #NEWLINE# self . assertEqual ( '123456' , msg . thumb_media_id )