Exemplo n.º 1
0
def test_match(brew_unknown_cmd):
    assert match(Command("brew inst", stderr=brew_unknown_cmd), None)
    for command in brew_commands:
        assert not match(Command("brew " + command), None)
Exemplo n.º 2
0
def test_match(brew_unknown_cmd):
    assert match(Command('brew inst', brew_unknown_cmd))
    for command in _brew_commands():
        assert not match(Command('brew ' + command, ''))
Exemplo n.º 3
0
def test_match(brew_unknown_cmd):
    assert match(Command('brew inst', stderr=brew_unknown_cmd), None)
    for command in brew_commands:
        assert not match(Command('brew ' + command), None)
def test_match(brew_unknown_cmd):
    assert match(Command("brew inst", brew_unknown_cmd))
    for command in _brew_commands():
        assert not match(Command("brew " + command, ""))
Exemplo n.º 5
0
def test_match(brew_unknown_cmd):
    assert match(Command('brew inst', brew_unknown_cmd))
    for command in _brew_commands():
        assert not match(Command('brew ' + command, ''))
Exemplo n.º 6
0
def test_match(brew_unknown_cmd):
    assert match(Command('brew inst', stderr=brew_unknown_cmd), None)
    for command in _brew_commands():
        assert not match(Command('brew ' + command), None)