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))
Exemplo n.º 4
0
def test_match():
    assert match(Command('docker pes', stderr=stderr('pes')))
Exemplo n.º 5
0
def test_not_match(script, stderr):
    assert not match(Command(script, stderr=stderr))
Exemplo n.º 6
0
def test_not_match(script, output):
    assert not match(Command(script, output))
Exemplo n.º 7
0
def test_match():
    assert match(Command('docker pes', output('pes')))
Exemplo n.º 8
0
def test_not_match(script, stderr):
    assert not match(Command(script, stderr=stderr), None)
Exemplo n.º 9
0
def test_match():
    assert match(Command('docker pes', stderr=stderr('pes')), None)
Exemplo n.º 10
0
def test_match():
    assert match(Command('docker pes', output('pes')))