code: def test_git_run_context_tags(patch_script_name, patch_git_repo):
      assert GitRunContext().tags() == {
          MLFLOW_GIT_COMMIT: MOCK_COMMIT_HASH
      }
  
file_path: mlflow/tests/tracking/context/test_git_context.py
imports: from unittest import mock
  import git
  import pytest
  from mlflow.tracking.context.git_context import GitRunContext
  from mlflow.utils.mlflow_tags import MLFLOW_GIT_COMMIT
label_desc: Use image node_id 5 for calling a global function with example usage: test_git_run_context_tags(patch_script_name, patch_git_repo) without return types