code: def test_find_pager_uses_custom_pager_when_dvc_pager_env_var_is_defined(
      mocker, monkeypatch
  ):
      monkeypatch.setenv(DVC_PAGER, "my-pager")
      mocker.patch("sys.stdout.isatty", return_value=True)
  
      assert find_pager() == "my-pager"
  
file_path: dvc/tests/unit/ui/test_pager.py
imports: import pytest
  from dvc.env import DVC_PAGER
  from dvc.ui.pager import DEFAULT_PAGER, LESS, PAGER_ENV, find_pager, make_pager, pager
label_desc: Use image node_id 3 for calling a global function with example usage: test_find_pager_uses_custom_pager_when_dvc_pager_env_var_is_defined(mocker, monkeypatch) without return types