Exemplo n.º 1
0
def test_man_completion():
    if ON_WINDOWS:
        raise SkipTest
    man_completer = ManCompleter()
    completions = man_completer.option_complete('--', 'yes')
    assert_true('--version' in completions)
    assert_true('--help' in completions)
Exemplo n.º 2
0
def test_man_completion():
    if ON_WINDOWS:
        raise SkipTest
    man_completer = ManCompleter()
    completions = man_completer.option_complete('--', 'yes')
    assert_true('--version' in completions)
    assert_true('--help' in completions)
Exemplo n.º 3
0
def test_man_completion():
    if (platform.system() != 'Windows'):
        man_completer = ManCompleter()
        completions = man_completer.option_complete('--', 'yes')
        assert_true('--version' in completions)
        assert_true('--help' in completions)