MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / test_git_message_with_empty_body

Function test_git_message_with_empty_body

tests/test_git.py:97–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95
96
97def test_git_message_with_empty_body():
98 commit_title = "Some Title"
99 commit = git.GitCommit("test_rev", "Some Title", body="")
100
101 assert commit.message == commit_title
102
103
104@pytest.mark.usefixtures("tmp_commitizen_project")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected