def test_match(): assert match(Command("git branch list", ""))
def test_not_match(): assert not match(Command()) assert not match(Command('git commit')) assert not match(Command('git branch')) assert not match(Command('git stash list'))
def test_not_match(): assert not match(Command("", "")) assert not match(Command("git commit", "")) assert not match(Command("git branch", "")) assert not match(Command("git stash list", ""))
def test_match(): assert match(Command('git branch list'))
def test_not_match(): assert not match(Command(), None) assert not match(Command('git commit'), None) assert not match(Command('git branch'), None) assert not match(Command('git stash list'), None)
def test_match(): assert match(Command('git branch list'), None)
def test_not_match(): assert not match(Command('', '')) assert not match(Command('git commit', '')) assert not match(Command('git branch', '')) assert not match(Command('git stash list', ''))
def test_match(): assert match(Command('git branch list', ''))