コード例 #1
0
def test_not_match(lsof, command, lsof_output):
    lsof.return_value.stdout = BytesIO(lsof_output)

    assert not match(command)
コード例 #2
0
def test_not_match(lsof, command, lsof_output):
    lsof.return_value.stdout = BytesIO(lsof_output)

    assert not match(command)
コード例 #3
0
def test_match(command):
    assert match(command)
コード例 #4
0
def test_match(command):
    assert match(command)