Exemplo n.º 1
0
def test_not_match(lsof, command, lsof_output):
    lsof.return_value.stdout = BytesIO(lsof_output)

    assert not match(command)
Exemplo n.º 2
0
def test_not_match(lsof, command, lsof_output):
    lsof.return_value.stdout = BytesIO(lsof_output)

    assert not match(command)
Exemplo n.º 3
0
def test_match(command):
    assert match(command)
Exemplo n.º 4
0
def test_match(command):
    assert match(command)