@@ -60,7 +60,7 @@ def test_echo_via_pager_env_GIT_PAGER(mock_inner, mock_tabulate, mock_config):
6060def test_echo_via_pager_config (mock_inner , mock_tabulate , mock_config ):
6161 utils .echo_via_pager ('test' , ('foo' ,), None )
6262
63- mock_config .assert_called_once_with ('core.parser ' )
63+ mock_config .assert_called_once_with ('core.pager ' )
6464 mock_tabulate .assert_called_once_with ('test' , ('foo' ,), None )
6565 mock_inner .assert_called_once_with ('bar' , mock_tabulate .return_value )
6666
@@ -72,7 +72,7 @@ def test_echo_via_pager_config(mock_inner, mock_tabulate, mock_config):
7272def test_echo_via_pager_env_PAGER (mock_inner , mock_tabulate , mock_config ):
7373 utils .echo_via_pager ('test' , ('foo' ,), None )
7474
75- mock_config .assert_called_once_with ('core.parser ' )
75+ mock_config .assert_called_once_with ('core.pager ' )
7676 mock_tabulate .assert_called_once_with ('test' , ('foo' ,), None )
7777 mock_inner .assert_called_once_with ('baz' , mock_tabulate .return_value )
7878
@@ -84,7 +84,7 @@ def test_echo_via_pager_env_PAGER(mock_inner, mock_tabulate, mock_config):
8484def test_echo_via_pager_env_default (mock_inner , mock_tabulate , mock_config ):
8585 utils .echo_via_pager ('test' , ('foo' ,), None )
8686
87- mock_config .assert_called_once_with ('core.parser ' )
87+ mock_config .assert_called_once_with ('core.pager ' )
8888 mock_tabulate .assert_called_once_with ('test' , ('foo' ,), None )
8989 mock_inner .assert_called_once_with ('less' , mock_tabulate .return_value )
9090
0 commit comments