

def test_bulk_destroy__without_protection_header(self):
    resp = self.client.delete('/comments/')
    self.assertEqual(resp.status_code, 400)
    expected_message = {
        'detail': "Header '{0}' should be provided for bulk operation.".format(extensions_api_settings.DEFAULT_BULK_OPERATION_HEADER_NAME),
    }
    self.assertEqual(resp.data, expected_message)

dataset/ETHPy150Open chibisov/drf-extensions/tests_app/tests/functional/mixins/list_destroy_model_mixin/tests.py ListDestroyModelMixinTest.test_bulk_destroy__without_protection_header/original