#NEWLINE# @ mock . patch . object ( keystone . api , 'keystone' ) #NEWLINE# def test_user_delete_many( self , kc ) : #NEWLINE# #INDENT# request = self . mock_rest_request ( body = '\n            ["id1", "id2", "id3"]\n        ' ) #NEWLINE# response = keystone . Users ( ) . delete ( request ) #NEWLINE# self . assertStatusCode ( response , 204 ) #NEWLINE# self . assertEqual ( response . content , b'' ) #NEWLINE# kc . user_delete . assert_has_calls ( [ mock . call ( request , 'id1' ) , mock . call ( request , 'id2' ) , mock . call ( request , 'id3' ) ] )