Skip to content

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.py
index 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 True
assert sc.scan_input is True
assert sc.scan_output is True
- assert sc.mode == "warn"
+ assert sc.mode == "redact"
assert sc.secret_scanner is True
assert sc.pii_scanner is True
assert sc.enforce_tool_confirmation is True
diff --git a/tests/core/test_config_phase3.py b/tests/core/test_config_phase3.py
index 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 == 8000
assert cfg.agent == "orchestrator"
assert cfg.model == ""