Example #1
0
def test_not_match():
    assert not match(Command("git", git_stash_err))
Example #2
0
def test_match(wrong):
    assert match(Command(wrong, git_stash_err))
Example #3
0
def test_not_match():
    assert not match(Command("git", git_stash_err))
Example #4
0
def test_match(wrong):
    assert match(Command(wrong, git_stash_err))
Example #5
0
def test_match(wrong):
    assert match(Command(wrong, stderr=git_stash_err), None)
Example #6
0
def test_match(wrong):
    assert match(Command(wrong, stderr=git_stash_err), None)