#NEWLINE# def test_push_list( self ) : #NEWLINE# #INDENT# title = 'test title' #NEWLINE# items = [ 'test item 1' , 'test item 2' ] #NEWLINE# self . channel . push_list ( title , items ) #NEWLINE# pushed_data = { #NEWLINE# #INDENT# 'type' : 'list' , #NEWLINE# 'title' : title , #NEWLINE# 'items' : items , #NEWLINE# 'channel_tag' : self . channel_tag , #NEWLINE# #UNINDENT# } #NEWLINE# self . account . _push . assert_called_with ( pushed_data )