code: def mock_exec_cmd():
      with mock.patch("mlflow.server._exec_cmd") as m:
          yield m
  
file_path: mlflow/tests/server/test_init.py
imports: import sys
  from unittest import mock
  import pytest
  from mlflow import server
  from mlflow.exceptions import MlflowException
label_desc: Use image node_id 1 for calling a global function with example usage: mock_exec_cmd() without return types