def test_parses_pager_cmd_correctly():
    """
    Parses the long and short pager cmd flags.
    """
    pager_cmd = 'less -R'
    expected_args = _create_mock_args(pager_cmd=pager_cmd)

    _helper_parses_correctly(['-p', pager_cmd], expected_args)
    _helper_parses_correctly(['--pager-cmd', pager_cmd], expected_args)

    Parses the long and short pager cmd flags.
    
test/core_test.py