code: def test_job_dne(monkeypatch, user):
      def patched_push_to_run_queue_by_name(*args, **kwargs):
          return {"runQueueItemId": "1"}
  
      monkeypatch.setattr(
          wandb.sdk.internal.internal_api.Api,
          "push_to_run_queue_by_name",
          lambda *arg, **kwargs: patched_push_to_run_queue_by_name(
              *arg, **kwargs
          ),
      )
  
      with pytest.raises(LaunchError):
          launch_add(job="test/test/test-job:v0")
  
imports: import json
  import os
  from unittest import mock
  import pytest
  import wandb
  from wandb.apis.public import Api
  from wandb.sdk.internal.internal_api import Api
  from wandb.sdk.internal.internal_api import UnsupportedError
  from wandb.sdk.launch._launch_add import launch_add
  from wandb.sdk.launch.utils import LAUNCH_DEFAULT_PROJECT, LaunchError
label_desc: Use image node_id 19 for calling a global function with example usage: test_job_dne(monkeypatch, user) and returns: dict