コード例 #1
0
def test_not_match(script, output):
    assert not match(Command(script, output))
コード例 #2
0
def test_match():
    assert match(Command("docker pes", output("pes")))
コード例 #3
0
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')))