#NEWLINE# def test_bulk_create_all_or_nothing( self ) : #NEWLINE# #INDENT# res = self . app . post_json_api ( self . url , { #NEWLINE# #INDENT# 'data' : [ res . collection , self . empty_collection ] , #NEWLINE# #UNINDENT# } , bulk = True , auth = self . user_one . auth , expect_errors = True ) #NEWLINE# assert_equal ( res . status_code , 400 ) #NEWLINE# res = self . app . get ( self . url , auth = self . user_one . auth ) #NEWLINE# assert_equal ( len ( res . json [ 'data' ] ) , 0 )