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

Function _add_entry

tests/test_bump_create_commit_message.py:118–123  ·  view source on GitHub ↗
(test_str: str, args: list)

Source from the content-addressed store, hash-verified

116@pytest.mark.usefixtures("tmp_commitizen_project")
117def test_bump_with_build_metadata(util: UtilFixture):
118 def _add_entry(test_str: str, args: list):
119 Path(test_str).write_text("")
120 cmd.run(["git", "add", "-A"])
121 cmd.run(["git", "commit", "-m", f"fix: test-{test_str}"])
122 cz_args = ["bump", "--changelog", "--yes"] + args
123 util.run_cli(*cz_args)
124
125 util.freezer.move_to("2024-01-01")
126

Callers 1

Calls 1

run_cliMethod · 0.80

Tested by

no test coverage detected