code: def test_launch_add_template_variables_not_supported(
      user, monkeypatch
  ):
      queue_name = "tvqueue"
      proj = "test1"
      queue_config = {"e": ["{{var1}}"]}
      template_variables = {"var1": "a"}
  
      def patched_push_to_run_queue_introspection(*args, **kwargs):
          args[0].server_supports_template_variables = False
          return (False, False)
  
      monkeypatch.setattr(
          wandb.sdk.internal.internal_api.Api,
          "push_to_run_queue_introspection",
          patched_push_to_run_queue_introspection,
      )
      api = PublicApi(api_key=user)
      api.create_run_queue(
          entity=user,
          name=queue_name,
          type="local-container",
          config=queue_config,
      )
      with pytest.raises(UnsupportedError):
          _ = launch_add(
              template_variables=template_variables,
              project=proj,
              entity=user,
              queue_name=queue_name,
              docker_image="abc:latest",
          )
  
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 15 for calling a global function with example usage: test_launch_add_template_variables_not_supported(user, monkeypatch) and returns: False,  False