#NEWLINE# def test_apply_with_append_list2( self ) : #NEWLINE# #INDENT# '\n            Invoke apply() with append an list\n        ' #NEWLINE# key = ( 'test' , 'demo' , 1 ) #NEWLINE# retval = TestApply . client . apply ( key , 'sample' , 'list_append' , [ 'name' , [ 1 , 2 ] ] ) #NEWLINE# assert ( retval == 0 ) #NEWLINE# ( key , _ , bins ) = TestApply . client . get ( retval ) #NEWLINE# assert ( bins [ 'name' ] == [ 'name1' , [ 1 , 2 ] ] )