class_docstr: Test PapermillOperator.
code: def test_execute(self, mock_papermill):
      in_nb = "/tmp/does_not_exist"
      out_nb = "/tmp/will_not_exist"
      kernel_name = "python3"
      language_name = "python"
      parameters = {"msg": "hello_world", "train": 1}
  
      op = PapermillOperator(
          input_nb=in_nb,
          output_nb=out_nb,
          parameters=parameters,
          task_id="papermill_operator_test",
          kernel_name=kernel_name,
          language_name=language_name,
          dag=None,
      )
  
      op.execute(context={})
  
      mock_papermill.execute_notebook.assert_called_once_with(
          in_nb,
          out_nb,
          parameters=parameters,
          kernel_name=kernel_name,
          language=language_name,
          progress_bar=False,
          report_mode=True,
          engine_name=None,
      )
  
file_path: airflow/tests/providers/papermill/operators/test_papermill.py
imports: from __future__ import annotations
  from unittest.mock import MagicMock, patch
  import pytest
  from airflow.providers.papermill.hooks.kernel import JUPYTER_KERNEL_CONTROL_PORT, JUPYTER_KERNEL_HB_PORT, JUPYTER_KERNEL_IOPUB_PORT, JUPYTER_KERNEL_SHELL_PORT, JUPYTER_KERNEL_STDIN_PORT
  from airflow.providers.papermill.operators.papermill import REMOTE_KERNEL_ENGINE, NoteBook, PapermillOperator
  from airflow.utils import timezone
label_desc: Use image node_id 3 for calling the TestPapermillOperator obj's underlying member method code with example usage: obj.test_execute(mock_papermill) without return types