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