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