def test_not_match(command):
    assert not match(command)
Exemplo n.º 2
0
def test_not_match(command):
    assert not match(command)
def test_match(output):
    assert match(Command("sudo apt update", output))
Exemplo n.º 4
0
def test_match():
    assert match(Command('sudo apt update', match_output))