MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_extra_overrides

Method test_extra_overrides

tests/test_settings.py:228–236  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

226 assert s.effort == "high"
227
228 def test_extra_overrides(self, tmp_path):
229 from src.config import ConfigManager
230 with patch("src.config.get_global_config_path", return_value=tmp_path / "missing.json"), \
231 patch("src.config.get_project_config_path", return_value=None), \
232 patch("src.config.get_local_config_path", return_value=None):
233 invalidate_settings_cache()
234 mgr = ConfigManager(cwd=tmp_path)
235 s = load_settings(config_manager=mgr, extra_overrides={"fast_mode": True})
236 assert s.fast_mode is True
237
238
239import os

Callers

nothing calls this directly

Calls 3

ConfigManagerClass · 0.90
load_settingsFunction · 0.90

Tested by

no test coverage detected