#NEWLINE# def test_push_address( self ) : #NEWLINE# #INDENT# name = 'test name' #NEWLINE# address = 'test address' #NEWLINE# self . channel . push_address ( name , self ) #NEWLINE# pushed_data = { #NEWLINE# #INDENT# 'type' : 'address' , #NEWLINE# 'name' : name , #NEWLINE# 'address' : address , #NEWLINE# 'channel_tag' : self . channel_tag , #NEWLINE# #UNINDENT# } #NEWLINE# self . account . _push . assert_called_with ( pushed_data )