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