docstr: Test the execute function creating new Repo.
docstr_tok: ["Test","the","execute","function","creating","new","Repo","."]
code: def test_create_plus_checkout(self, db_mock_class):
      """
      Test the execute function creating new Repo.
      """
      git_url = "https://github.com/test/test"
      repo_path = "/Repos/Project1/test-repo"
      op = DatabricksReposCreateOperator(
          task_id=TASK_ID,
          git_url=git_url,
          repo_path=repo_path,
          branch="releases",
      )
      db_mock = db_mock_class.return_value
      db_mock.update_repo.return_value = {"head_commit_id": "123456"}
      db_mock.create_repo.return_value = {"id": "123", "branch": "main"}
      db_mock.get_repo_by_path.return_value = None
  
      op.execute(None)
  
      db_mock_class.assert_called_once_with(
          DEFAULT_CONN_ID,
          retry_limit=op.databricks_retry_limit,
          retry_delay=op.databricks_retry_delay,
          caller="DatabricksReposCreateOperator",
      )
  
      db_mock.create_repo.assert_called_once_with(
          {"url": git_url, "provider": "gitHub", "path": repo_path}
      )
      db_mock.update_repo.assert_called_once_with(
          "123", {"branch": "releases"}
      )
  
file_path: airflow/tests/providers/databricks/operators/test_databricks_repos.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.databricks.operators.databricks_repos import DatabricksReposCreateOperator, DatabricksReposDeleteOperator, DatabricksReposUpdateOperator
label_desc: Use image node_id 1 for calling the TestDatabricksReposCreateOperator obj's underlying member method code with example usage: obj.test_create_plus_checkout(db_mock_class) without return types