Exemplo n.º 1
0
def test_not_match(script, output):
    assert not match(Command(script, output))
Exemplo n.º 2
0
def test_not_match(script, stderr):
    assert not match(Command(script, stderr=stderr), None)
Exemplo n.º 3
0
def test_match(cmd):
    assert match(Command('heroku {}'.format(cmd), suggest_output))
Exemplo n.º 4
0
def test_match(cmd):
    assert match(
        Command('heroku {}'.format(cmd), stderr=suggest_stderr(cmd)), None)
Exemplo n.º 5
0
def test_not_match(script, output):
    assert not match(Command(script, output))
Exemplo n.º 6
0
def test_match(cmd):
    assert match(
        Command('heroku {}'.format(cmd), suggest_output))
Exemplo n.º 7
0
def test_not_match(script, stderr):
    assert not match(Command(script, stderr=stderr))
Exemplo n.º 8
0
def test_match(cmd):
    assert match(Command('heroku {}'.format(cmd), stderr=suggest_stderr))