code: def work_dir(tmp_path_factory, model_name):
      return Path(tmp_path_factory.mktemp(model_name))
  
file_path: serve/test/pytest/test_model_config.py
imports: import shutil
  from pathlib import Path
  from unittest.mock import patch
  import pytest
  import test_utils
  from model_archiver import ModelArchiverConfig
label_desc: Use image node_id 2 for calling a global function with example usage: work_dir(tmp_path_factory, model_name) and returns: Path