code: def test_get(template: str, params: Dict):
      config = get_yaml(template=template, params=params)
  
      for v in params.values():
          if isinstance(v, str):
              assert v in json.dumps(config)
          elif isinstance(v, dict):
              for sub_key, sub_v in v.items():
                  assert config["data"][sub_key] == sub_v
  
imports: import json
  from typing import Dict
  import pytest
  from jina.orchestrate.deployments.config.k8slib.kubernetes_tools import get_yaml
label_desc: Use image node_id 1 for calling a global function with example usage: test_get(template, params) without return types