(term_height, term_width, text, pset_pager_mocks)
| 269 | |
| 270 | @pytest.mark.parametrize("term_height,term_width,text", test_data, ids=test_ids) |
| 271 | def test_pset_pager_off(term_height, term_width, text, pset_pager_mocks): |
| 272 | cli, mock_echo, mock_echo_via_pager, mock_cli = pset_pager_mocks |
| 273 | mock_cli.output.get_size.return_value = termsize(rows=term_height, columns=term_width) |
| 274 | |
| 275 | with mock.patch.object(cli.pgspecial, "pager_config", PAGER_OFF): |
| 276 | cli.echo_via_pager(text) |
| 277 | |
| 278 | mock_echo.assert_called() |
| 279 | mock_echo_via_pager.assert_not_called() |
| 280 | |
| 281 | |
| 282 | @pytest.mark.parametrize("term_height,term_width,text", test_data, ids=test_ids) |
nothing calls this directly
no test coverage detected
searching dependent graphs…