Example #1
0
def test_not_match(script):
    stderr=''
    assert not match(Command(script=script, stderr=stderr))
Example #2
0
def test_not_match(script):
    stderr = ''
    assert not match(Command(script=script, stderr=stderr))
Example #3
0
def test_match(stderr, script):
    assert match(Command(script=script, stderr=stderr))
Example #4
0
def test_match(stderr, script):
    assert match(Command(script=script, stderr=stderr))
Example #5
0
def test_not_match(script):
    assert not match(Command(script, ''))
Example #6
0
def test_match(output, script):
    assert match(Command(script, output))
Example #7
0
def test_not_match(script):
    assert not match(Command(script, ''))
Example #8
0
def test_match(output, script):
    assert match(Command(script, output))