예제 #1
0
def test_match():
    assert match(Command('grep blah .', stderr='grep: .: Is a directory'), None)
    assert not match(Command(), None)
예제 #2
0
def test_match():
    assert match(Command('grep blah .', 'grep: .: Is a directory'))
    assert match(Command(u'grep café .', 'grep: .: Is a directory'))
    assert not match(Command('', ''))
예제 #3
0
def test_match():
    assert match(Command('grep blah .', stderr='grep: .: Is a directory'))
    assert not match(Command())
def test_match():
    assert match(Command("grep blah .", "grep: .: Is a directory"))
    assert match(Command(u"grep café .", "grep: .: Is a directory"))
    assert not match(Command("", ""))