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

Function test_answer

tests/test_cz_jira.py:11–21  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

9
10
11def test_answer(config):
12 cz = JiraSmartCz(config)
13 answers = {
14 "message": "new test",
15 "issues": "JRA-34",
16 "workflow": "",
17 "time": "",
18 "comment": "",
19 }
20 message = cz.message(answers)
21 assert message == "new test JRA-34"
22
23
24def test_example(config):

Callers

nothing calls this directly

Calls 2

messageMethod · 0.95
JiraSmartCzClass · 0.90

Tested by

no test coverage detected