code: def test_cli_with_python_mod():
      stdout = subprocess.check_output(
          [
              sys.executable,
              "-m",
              "mlflow",
              "--version",
          ],
          text=True,
      )
      assert stdout.rstrip().endswith(mlflow.__version__)
      stdout = subprocess.check_output(
          [
              sys.executable,
              "-m",
              "mlflow",
              "server",
              "--help",
          ],
          text=True,
      )
      assert "mlflow server" in stdout
  
imports: import json
  import os
  import shutil
  import subprocess
  import sys
  import tempfile
  import time
  from unittest import mock
  from urllib.parse import unquote, urlparse
  from urllib.request import url2pathname
  import numpy
  import pandas
  import pytest
  import requests
  from click.testing import CliRunner
  import mlflow
  from mlflow import pyfunc
  from mlflow.cli import doctor, gc, server
  from mlflow.entities import ViewType
  from mlflow.exceptions import MlflowException
  from mlflow.server import handlers
  from mlflow.store.tracking.file_store import FileStore
  from mlflow.store.tracking.sqlalchemy_store import SqlAlchemyStore
  from mlflow.utils.rest_utils import augmented_raise_for_status
  from mlflow.utils.time import get_current_time_millis
  from tests.helper_functions import PROTOBUF_REQUIREMENT, get_safe_port, pyfunc_serve_and_score_model
  from tests.tracking.integration_test_utils import _await_server_up_or_die
label_desc: Use image node_id 23 for calling a global function with example usage: test_cli_with_python_mod() without return types