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