code: def test_escape(template, expected):
      context = Context({"value": "value"})
      assert context.resolve(template) == expected
  
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 2 for calling a global function with example usage: test_escape(template, expected) without return types