(config_files_manager)
| 186 | |
| 187 | @pytest.mark.parametrize("config_files_manager", defaults.CONFIG_FILES, indirect=True) |
| 188 | def 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 | |
| 195 | class TestReadCfg: |