Lines Matching refs:commit
34 def test_canonicalize_commit(commit: str, expected: bool) -> None:
36 assert canonicalize_commit(commit)
39 assert canonicalize_commit(commit)
58 def test_validate_branch(commit: str, expected: bool) -> None:
60 assert validate_branch(commit)
63 assert validate_branch(commit)
82 def test_is_commit_valid(commit: str, expected: bool) -> None:
83 assert is_commit_valid(commit) == expected
98 def test_branch_has_commit(branch: str, commit: str, expected: bool) -> None:
100 assert branch_has_commit(upstream, branch, commit) == expected
114 def test_branch_has_backport_of_commit(branch: str, commit: str, expected: bool) -> None:
116 assert branch_has_backport_of_commit(upstream, branch, commit) == expected