code: def work_dir(tmp_path_factory, model_name):
      return tmp_path_factory.mktemp(model_name)
  
file_path: serve/test/pytest/test_continuous_batching.py
imports: import json
  import shutil
  from pathlib import Path
  from queue import Empty
  from unittest.mock import patch
  from zipfile import ZIP_STORED, ZipFile
  import pytest
  import requests
  import test_utils
  import torch
  from model_archiver import ModelArchiverConfig
  from test_data.streaming.stream_handler import StreamingHandler
  from ts.torch_handler.unit_tests.test_utils.mock_context import MockContext
label_desc: Use image node_id 2 for calling a global function with example usage: work_dir(tmp_path_factory, model_name) and returns: tmp_path_factory