Ejemplo n.º 1
0
def test_match():
    assert match(Command('grep blah .', stderr='grep: .: Is a directory'), None)
    assert not match(Command(), None)
Ejemplo n.º 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('', ''))
Ejemplo n.º 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("", ""))