Beispiel #1
0
def test_not_match(script):
    output = 'Uninstalling /usr/local/Cellar/gnuplot/5.0.4_1... (44 files, 2.3M)\n'
    assert not match(Command(script, output))
def test_match(stdout, script):
    assert match(Command(script=script, stdout=stdout))
Beispiel #3
0
def test_match(output, script):
    assert match(Command(script, output))
Beispiel #4
0
def test_match(stdout, script):
    assert match(Command(script=script, stdout=stdout))