def test_not_match(script):
    assert not match(Command(script=script, stderr=''))
Esempio n. 2
0
def test_not_match(script):
    assert not match(Command(script, ""))
def test_match(stderr, script, target):
    assert match(Command(script=script, stderr=stderr))
Esempio n. 4
0
def test_match(output, script, target):
    assert match(Command(script, output))
Esempio n. 5
0
def test_not_match(script):
    assert not match(Command(script, ''))
Esempio n. 6
0
def test_match(output, script, target):
    assert match(Command(script, output))
def test_not_match(script):
    assert not match(Command(script=script, stderr=''))
def test_match(stderr, script, target):
    assert match(Command(script=script, stderr=stderr))