Beispiel #1
0
def test_not_match(command):
    assert not match(command, None)
Beispiel #2
0
def test_match():
    assert match(Command('apt-get search foo'), None)
Beispiel #3
0
def test_match():
    assert match(Command("apt-get search foo", ""))