Personal AI, On Personal Devices
Python
fix: update existing tests for new secure defaults
Jon Saad-Falcon0cbd0e1dac98
diff --git a/tests/core/test_config.py b/tests/core/test_config.pyindex 9e0556ec..3c179e88 100644--- a/tests/core/test_config.py+++ b/tests/core/test_config.py@@ -115,7 +115,7 @@ class TestSecurityConfig:assert sc.enabled is Trueassert sc.scan_input is Trueassert sc.scan_output is True- assert sc.mode == "warn"+ assert sc.mode == "redact"assert sc.secret_scanner is Trueassert sc.pii_scanner is Trueassert sc.enforce_tool_confirmation is Truediff --git a/tests/core/test_config_phase3.py b/tests/core/test_config_phase3.pyindex b2b0cb17..308b88c5 100644--- a/tests/core/test_config_phase3.py+++ b/tests/core/test_config_phase3.py@@ -37,7 +37,7 @@ class TestAgentConfig:class TestServerConfig:def test_defaults(self):cfg = ServerConfig()- assert cfg.host == "0.0.0.0"+ assert cfg.host == "127.0.0.1"assert cfg.port == 8000assert cfg.agent == "orchestrator"assert cfg.model == ""