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