#NEWLINE# def test_wechat_card_signer( self ) : #NEWLINE# #INDENT# from wechatpy.utils import WeChatSigner #NEWLINE# signer = WeChatSigner ( ) #NEWLINE# signer . add_data ( '789' ) #NEWLINE# signer . add_data ( '456' ) #NEWLINE# signer . add_data ( '123' ) #NEWLINE# signature = signer . signature #NEWLINE# self . assertEqual ( 'f7c3bc1d808e04732adf679965ccc34ca7ae3441' , signature )