code: def force_posixpath(mocker):
      # make it always return posix path, easier for validating error messages
      mocker.patch(
          "dvc.utils.strictyaml.make_relpath",
          return_value="./dvc.yaml",
      )
  
file_path: dvc/tests/func/utils/test_strict_yaml.py
imports: import os
  import pytest
  from ruamel.yaml import __with_libyaml__
  from dvc.cli import main
label_desc: Use image node_id 1 for calling a global function with example usage: force_posixpath(mocker) without return types