code: def test_resolve_collection():
      from tests.func.parsing import (
          CONTEXT_DATA,
          RESOLVED_DVC_YAML_DATA,
          TEMPLATED_DVC_YAML_DATA,
      )
  
      context = Context(CONTEXT_DATA)
      resolved = context.resolve(TEMPLATED_DVC_YAML_DATA)
      assert resolved == RESOLVED_DVC_YAML_DATA
      assert recurse_not_a_node(resolved)
  
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 6 for calling a global function with example usage: test_resolve_collection() without return types