Example #1
0
def test_not_match(command):
    assert not match(command)
Example #2
0
def test_match(script, is_bsd, output):
    command = Command(script, output)
    assert match(command)
Example #3
0
def test_match(output):
    command = Command('touch /a/b/c', output)
    assert match(command)
Example #4
0
def test_match(output):
    command = Command('touch /a/b/c', output)
    assert match(command)
Example #5
0
def test_match(stderr):
    command = Command('touch /a/b/c', stderr=stderr)
    assert match(command)
Example #6
0
def test_match(stderr):
    command = Command(
        'touch /a/b/c', stderr=stderr)
    assert match(command)