MCPcopy Create free account
hub / github.com/BerriAI/litellm / test_commit_msg_rejects_empty_message

Function test_commit_msg_rejects_empty_message

tests/unit/test_git_hooks.py:140–143  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

138
139
140def test_commit_msg_rejects_empty_message(tmp_path):
141 result = _run_commit_msg("", tmp_path)
142 assert result.returncode == 1
143 assert "empty commit message" in result.stderr
144
145
146def test_commit_msg_skips_comment_only_lines(tmp_path):

Callers

nothing calls this directly

Calls 1

_run_commit_msgFunction · 0.85

Tested by

no test coverage detected