#NEWLINE# def test_delete_with_put_empty_array( self ) : #NEWLINE# #INDENT# self . collection . add_pointer ( self . admin_node , auth = self . auth ) #NEWLINE# payload = self . payload ( ) #NEWLINE# payload [ 'data' ] . pop ( ) #NEWLINE# res = self . app . put_json_api ( self . url , payload , auth = self . user . auth ) #NEWLINE# assert_equal ( res . status_code , 200 ) #NEWLINE# assert_equal ( res . json [ 'data' ] , payload [ 'data' ] )