code: def fixed_width_term(mocker):
      """Fixed width console."""
      from rich.console import Console
  
      mocker.patch.object(
          Console,
          "width",
          new_callable=mocker.PropertyMock(return_value=80),
      )
  
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 2 for calling a global function with example usage: fixed_width_term(mocker) without return types