code: def test_git_clone_repo_with_and_token_2fa_wrong_creds(
      tempdir, mkdtemp, check_call
  ):
      git_config = {
          "repo": PRIVATE_GIT_REPO,
          "branch": PRIVATE_BRANCH,
          "commit": PRIVATE_COMMIT,
          "2FA_enabled": False,
          "token": "wrong-token",
      }
      entry_point = "entry_point"
      env = os.environ.copy()
      env["GIT_TERMINAL_PROMPT"] = "0"
      with pytest.raises(subprocess.CalledProcessError) as error:
          git_utils.git_clone_repo(
              git_config=git_config, entry_point=entry_point
          )
      assert "returned non-zero exit status" in str(error.value)
  
imports: from __future__ import absolute_import
  import pytest
  import os
  from pathlib import Path
  import subprocess
  from mock import patch, ANY
  from sagemaker import git_utils
label_desc: Use image node_id 18 for calling a global function with example usage: test_git_clone_repo_with_and_token_2fa_wrong_creds(tempdir, mkdtemp, check_call) without return types