Esempio n. 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))
Esempio n. 3
0
def test_match(output, script):
    assert match(Command(script, output))
Esempio n. 4
0
def test_match(stdout, script):
    assert match(Command(script=script, stdout=stdout))