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