def test_not_match(script):
    assert not match(Command(script, ""))
def test_match(output, script):
    assert match(Command(script, output))
Ejemplo n.º 3
0
def test_not_match(script):
    assert not match(Command(script=script, stderr=''))
Ejemplo n.º 4
0
def test_match(stderr, script):
    assert match(Command(script=script, stderr=stderr))
Ejemplo n.º 5
0
def test_not_match(script):
    assert not match(Command(script, ''))
Ejemplo n.º 6
0
def test_match(output, script):
    assert match(Command(script, output))