#NEWLINE# def test_apply_with_none_parameter( self ) : #NEWLINE# #INDENT# '\n            Invoke apply() with a None argument\n        ' #NEWLINE# key = ( 'test' , 'demo' , 1 ) #NEWLINE# retval = TestApply . client . apply ( key , 'sample' , 'list_append' , [ 'name' , None ] ) #NEWLINE# ( key , _ , bins ) = TestApply . client . get ( retval ) #NEWLINE# assert ( bins [ 'name' ] == [ 'name1' , None ] ) #NEWLINE# assert ( retval == 0 )