code: def test_find_pager_when_not_isatty(mocker):
      mocker.patch("sys.stdout.isatty", return_value=False)
      assert find_pager() is None
  
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 2 for calling a global function with example usage: test_find_pager_when_not_isatty(mocker) without return types