code: def test_resolve_primitive_values(data, template, var):
      context = Context({var: data})
      assert context.resolve(template) == data
  
file_path: dvc/tests/unit/test_interpolate.py
imports: from math import inf, pi
  import pytest
  from dvc.parsing.context import Context, recurse_not_a_node
label_desc: Use image node_id 1 for calling a global function with example usage: test_resolve_primitive_values(data, template, var) without return types