def test_not_match():
    assert not match(Command("whois", ""))
def test_match(command):
    assert match(command)
Example #3
0
def test_not_match():
    assert not match(Command(script='whois'))
Example #4
0
def test_match(command):
    assert match(command)
def test_not_match():
    assert not match(Command('whois', ''))
Example #6
0
def test_not_match():
    assert not match(Command(script='whois'))