def test_not_match(script, output):
    assert not match(Command(script, output))
def test_not_match(script, stderr):
    assert not match(Command(script, stderr=stderr))
def test_match(script, command):
    assert match(Command(script, output.format(command)))
def test_match(script, command):
    assert match(Command(script, stderr=stderr.format(command)))
def test_not_match(script, stderr):
    assert not match(Command(script, stderr=stderr))
def test_match(script, command):
    assert match(Command(script, stderr=stderr.format(command)))
예제 #7
0
def test_not_match(script, output):
    assert not match(Command(script, output))
예제 #8
0
def test_match(script, command):
    assert match(Command(script, output.format(command)))