code: def test_create_job_image(
      user, wandb_init, test_settings, image_name
  ):
      proj = "test-p1"
  
      internal_api = InternalApi()
      public_api = PublicApi()
  
      artifact, action, aliases = _create_job(
          api=internal_api,
          path=image_name,
          project=proj,
          entity=user,
          job_type="image",
          description="This is a description",
          name="test-job-1111",
      )
  
      assert isinstance(artifact, Artifact)
      assert artifact.name == "test-job-1111:v0"
      assert action == "Created"
  
      gold_aliases = ["latest"]
      if image_name[-1] == "1":
          gold_aliases = ["alias1", "latest"]
  
      assert aliases == gold_aliases
  
      job = public_api.job(f"{user}/{proj}/{artifact.name}")
      assert job
      assert job._partial
  
file_path: wandb/tests/pytest_tests/system_tests/test_launch/test_job.py
imports: import json
  import os
  import tempfile
  from unittest import mock
  import pytest
  from wandb.apis.public import Api
  from wandb.sdk.artifacts.artifact import Artifact
  from wandb.sdk.internal.internal_api import Api
  from wandb.sdk.launch.create_job import _create_job
  from wandb.sdk.launch.git_reference import GitReference
label_desc: Use image node_id 4 for calling a global function with example usage: test_create_job_image(user, wandb_init, test_settings, image_name) without return types