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