@@ -60,7 +60,7 @@ def test_echo_via_pager_env_GIT_PAGER(mock_inner, mock_tabulate, mock_config):
60
60
def test_echo_via_pager_config (mock_inner , mock_tabulate , mock_config ):
61
61
utils .echo_via_pager ('test' , ('foo' ,), None )
62
62
63
- mock_config .assert_called_once_with ('core.parser ' )
63
+ mock_config .assert_called_once_with ('core.pager ' )
64
64
mock_tabulate .assert_called_once_with ('test' , ('foo' ,), None )
65
65
mock_inner .assert_called_once_with ('bar' , mock_tabulate .return_value )
66
66
@@ -72,7 +72,7 @@ def test_echo_via_pager_config(mock_inner, mock_tabulate, mock_config):
72
72
def test_echo_via_pager_env_PAGER (mock_inner , mock_tabulate , mock_config ):
73
73
utils .echo_via_pager ('test' , ('foo' ,), None )
74
74
75
- mock_config .assert_called_once_with ('core.parser ' )
75
+ mock_config .assert_called_once_with ('core.pager ' )
76
76
mock_tabulate .assert_called_once_with ('test' , ('foo' ,), None )
77
77
mock_inner .assert_called_once_with ('baz' , mock_tabulate .return_value )
78
78
@@ -84,7 +84,7 @@ def test_echo_via_pager_env_PAGER(mock_inner, mock_tabulate, mock_config):
84
84
def test_echo_via_pager_env_default (mock_inner , mock_tabulate , mock_config ):
85
85
utils .echo_via_pager ('test' , ('foo' ,), None )
86
86
87
- mock_config .assert_called_once_with ('core.parser ' )
87
+ mock_config .assert_called_once_with ('core.pager ' )
88
88
mock_tabulate .assert_called_once_with ('test' , ('foo' ,), None )
89
89
mock_inner .assert_called_once_with ('less' , mock_tabulate .return_value )
90
90
0 commit comments