Exemple #1
0
def test_not_match(script, stderr):
    assert not match(Command(script, stderr=stderr))
Exemple #2
0
def test_match(script, file):
    assert match(Command(script, stderr=stderr(file)))
def test_not_match(script, stderr):
    assert not match(Command(script, stderr=stderr))
def test_match(script, file):
    assert match(Command(script, stderr=stderr(file)))
def test_not_match(script, output):
    assert not match(Command(script, output))
def test_match(script, file):
    assert match(Command(script, output(file)))