class_docstr: Test class for SalesforceBulkOperator
class_docstr_tok: ["Test","class","for","SalesforceBulkOperator"]
docstr: Test execute bulk delete
docstr_tok: ["Test","execute","bulk","delete"]
code: def test_execute_salesforce_bulk_delete(self, mock_get_conn):
      """
      Test execute bulk delete
      """
  
      operation = "delete"
      object_name = "Account"
      payload = [
          {"Id": "000000000000000AAA"},
          {"Id": "000000000000000BBB"},
      ]
      batch_size = 10000
      use_serial = True
  
      mock_get_conn.return_value.bulk.__getattr__(
          object_name
      ).delete = Mock()
      operator = SalesforceBulkOperator(
          task_id="bulk_delete",
          operation=operation,
          object_name=object_name,
          payload=payload,
          batch_size=batch_size,
          use_serial=use_serial,
      )
  
      operator.execute(context={})
  
      mock_get_conn.return_value.bulk.__getattr__(
          object_name
      ).delete.assert_called_once_with(
          data=payload,
          batch_size=batch_size,
          use_serial=use_serial,
      )
  
file_path: airflow/tests/providers/salesforce/operators/test_bulk.py
imports: from __future__ import annotations
  from unittest.mock import Mock, patch
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.salesforce.operators.bulk import SalesforceBulkOperator
label_desc: Use image node_id 6 for calling the TestSalesforceBulkOperator obj's underlying member method code with example usage: obj.test_execute_salesforce_bulk_delete(mock_get_conn) without return types