code: def test_parse_target(inp, out, default):
      assert parse_target(inp, default) == out
  
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 4 for calling a global function with example usage: test_parse_target(inp, out, default) without return types