code: def test_tvmc_compile_input_model(
      mock_compile_model, tmpdir_factory, model
  ):
      output_dir = tmpdir_factory.mktemp("output")
      output_file = output_dir / "model.tar"
  
      compile_cmd = f"tvmc compile --target 'llvm' {model} --model-format paddle --output {output_file}"
      run_arg = compile_cmd.split(" ")[1:]
  
      _main(run_arg)
  
      mock_compile_model.assert_called_once()
  
imports: import os
  import platform
  import pytest
  import shutil
  import logging
  import sys
  from pytest_lazyfixture import lazy_fixture
  from unittest import mock
  import tvm
  from tvm.driver.tvmc.main import _main
  from tvm.driver.tvmc.model import TVMCException
  from tvm.driver.tvmc import compiler
  from unittest.mock import MagicMock
label_desc: Use image node_id 10 for calling a global function with example usage: test_tvmc_compile_input_model(mock_compile_model, tmpdir_factory, model) without return types