예제 #1
0
def test_not_match(command):
    assert not match(command, None)
예제 #2
0
def test_match(output, script, target):
    assert match(Command(script, output))
예제 #3
0
def test_not_match(path_exists, output, script, target, exists):
    path_exists.return_value = exists
    assert not match(Command(script, output))
예제 #4
0
def test_match(stderr, script, target):
    assert match(Command(script=script, stderr=stderr))
예제 #5
0
def test_not_match(path_exists, stderr, script, target, exists):
    path_exists.return_value = exists
    assert not match(Command(script=script, stderr=stderr))
예제 #6
0
def test_match(output, script, target):
    assert match(Command(script, output))
예제 #7
0
def test_not_match(path_exists, output, script, target, exists):
    path_exists.return_value = exists
    assert not match(Command(script, output))
예제 #8
0
def test_not_match(script):
    assert not match(Command(script=script, stderr=''))
예제 #9
0
def test_match(stderr, script, target):
    assert match(Command(script=script, stderr=stderr))
예제 #10
0
def test_match(command):
    assert match(command)
예제 #11
0
def test_not_match(script):
    assert not match(Command(script=script, stderr=''))
예제 #12
0
def test_not_match(path_exists, stderr, script, target, exists):
    path_exists.return_value = exists
    assert not match(Command(script=script, stderr=stderr))