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