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

Function test_set_key

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

set_keyMethod · 0.45

Tested by

no test coverage detected