MCPcopy Index your code
hub / github.com/commitizen-tools/commitizen / test_set_key

Function test_set_key

tests/test_conf.py:184–188  ·  view source on GitHub ↗
(config_files_manager)

Source from the content-addressed store, hash-verified

182
183@pytest.mark.parametrize("config_files_manager", defaults.CONFIG_FILES, indirect=True)
184def test_set_key(config_files_manager):
185 _conf = config.read_cfg()
186 _conf.set_key("version", "2.0.0")
187 cfg = config.read_cfg()
188 assert cfg.settings == _new_settings
189
190
191class TestReadCfg:

Callers

nothing calls this directly

Calls 1

set_keyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…