code: def test_model_archiver(integ_tests, mocker):
      for test in integ_tests:
          # tar.gz format problem on windows hence ignore
          if (
              platform.system() == "Windows"
              and test["archive-format"] == "tgz"
          ):
              continue
          try:
              test["export-path"] = os.path.join(
                  tempfile.gettempdir(), test["export-path"]
              )
              delete_file_path(test.get("export-path"))
              create_file_path(test.get("export-path"))
              test["runtime"] = test.get("runtime", DEFAULT_RUNTIME)
              test["model-name"] = (
                  test["model-name"]
                  + "_"
                  + str(int(time.time() * 1000.0))
              )
              args = build_namespace(test)
  
              if run_test(test, args, mocker):
                  validate(test)
          finally:
              delete_file_path(test.get("export-path"))
  
imports: import errno
  import json
  import os
  import platform
  import shutil
  import tempfile
  import time
  from argparse import Namespace
  from datetime import datetime
  from pathlib import Path
  import model_archiver
label_desc: Use image node_id 14 for calling a global function with example usage: test_model_archiver(integ_tests, mocker) without return types