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

Function test_small_answer

tests/test_cz_conventional_commits.py:59–70  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

57
58
59def test_small_answer(config):
60 conventional_commits = ConventionalCommitsCz(config)
61 answers = {
62 "prefix": "fix",
63 "scope": "users",
64 "subject": "email pattern corrected",
65 "is_breaking_change": False,
66 "body": "",
67 "footer": "",
68 }
69 message = conventional_commits.message(answers)
70 assert message == "fix(users): email pattern corrected"
71
72
73def test_long_answer(config):

Callers

nothing calls this directly

Calls 2

messageMethod · 0.95

Tested by

no test coverage detected