#NEWLINE# def test_push_link( self ) : #NEWLINE# #INDENT# title = 'test title' #NEWLINE# url = 'http://test.url' #NEWLINE# body = 'test body' #NEWLINE# self . channel . push_link ( title , url , body ) #NEWLINE# pushed_data = { #NEWLINE# #INDENT# 'type' : 'link' , #NEWLINE# 'title' : title , #NEWLINE# 'url' : url , #NEWLINE# 'body' : body , #NEWLINE# 'channel_tag' : self . channel_tag , #NEWLINE# #UNINDENT# } #NEWLINE# self . account . _push . assert_called_with ( pushed_data )