code: def test_model_archiver_without_model_name_flag():
      cmd = test_utils.model_archiver_command_builder(
          None,
          "1.0",
          os.path.join(
              test_utils.CODEBUILD_WD,
              "examples",
              "image_classifier",
              "resnet_18",
              "model.py",
          ),
          os.path.join(test_utils.MODEL_STORE, "resnet18-f37072fd.pth"),
          "image_classifier",
          os.path.join(
              test_utils.CODEBUILD_WD,
              "examples",
              "image_classifier",
              "index_to_name.json",
          ),
      )
      cmd = cmd.split(" ")
      assert 0 != subprocess.run(cmd).returncode, (
          "Mar file couldn't be created." "No model_name specified"
      )
  
file_path: serve/test/pytest/test_model_archiver.py
imports: import subprocess
  import time
  import os
  import glob
  import requests
  import json
  import test_utils
label_desc: Use image node_id 11 for calling a global function with example usage: test_model_archiver_without_model_name_flag() without return types