def test_not_match(script, output):
    assert not match(Command(script, output))
def test_match():
    assert match(Command("docker pes", output("pes")))
def test_match_management_subcmd(script, output):
    assert match(Command(script, output))
Beispiel #4
0
def test_match():
    assert match(Command('docker pes', stderr=stderr('pes')))
Beispiel #5
0
def test_not_match(script, stderr):
    assert not match(Command(script, stderr=stderr))
def test_not_match(script, output):
    assert not match(Command(script, output))
def test_match():
    assert match(Command('docker pes', output('pes')))
def test_not_match(script, stderr):
    assert not match(Command(script, stderr=stderr), None)
def test_match():
    assert match(Command('docker pes', stderr=stderr('pes')), None)
def test_match():
    assert match(Command('docker pes', output('pes')))