code: def test_set_template() -> None:
      template_name = "test_set_template"
      template_path = conf.fixtures_path("templates/template.yaml")
      tpl.set_template(template_name, template_path)
      config = util.yaml_safe_load(tpl.describe_template(template_name))
      assert config == conf.load_config(template_path)
  
imports: from typing import Optional, Tuple
  import pytest
  from determined.common import util
  from determined.common.api import NTSC_Kind, Session, bindings, errors
  from tests import api_utils
  from tests import command
  from tests import config
  from tests import experiment
  from tests import template
  from tests.cluster import test_rbac
  from tests.cluster import test_users
label_desc: Use image node_id 1 for calling a global function with example usage: test_set_template() without return types