#NEWLINE# def test_bulk_delete_no_id( self ) : #NEWLINE# #INDENT# payload = { #NEWLINE# #INDENT# 'data' : [ { #NEWLINE# #INDENT# 'type' : 'collections' , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } #NEWLINE# res = self . app . delete_json_api ( self . url , payload , auth = self . user_one . auth , expect_errors = True , bulk = True ) #NEWLINE# assert_equal ( res . status_code , 400 ) #NEWLINE# assert_equal ( res . json [ 'errors' ] [ 0 ] [ 'detail' ] , 'Request must include /data/id.' )