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

Function test_info_with_info_path

tests/test_cz_customize.py:649–655  ·  view source on GitHub ↗
(tmp_path, monkeypatch, config_info)

Source from the content-addressed store, hash-verified

647
648
649def test_info_with_info_path(tmp_path, monkeypatch, config_info):
650 monkeypatch.chdir(tmp_path)
651 tmpfile = tmp_path / "info.txt"
652 tmpfile.write_text("Test info")
653
654 cz = CustomizeCommitsCz(config_info)
655 assert "Test info" in cz.info()
656
657
658def test_info_without_info(config_without_info):

Callers

nothing calls this directly

Calls 2

infoMethod · 0.95
CustomizeCommitsCzClass · 0.90

Tested by

no test coverage detected