code: def test_hint_on_lockfile():
      with pytest.raises(
          Exception, match="Did you mean: `dvc.yaml:name`?"
      ) as e:
          assert parse_target("dvc.lock:name")
      assert "dvc.yaml:name" in str(e.value)
  
file_path: dvc/tests/unit/utils/test_utils.py
imports: import os
  import pytest
  from dvc.utils import dict_sha256, fix_env, parse_target, relpath, resolve_output
label_desc: Use image node_id 5 for calling a global function with example usage: test_hint_on_lockfile() without return types