Skip to content

The agent that grows with you

test(honcho): drop the assertion on the tolerant reader main folded into utils.read_json_or_empty

kshitijk4poor135221e21667
diff --git a/tests/honcho_plugin/test_oauth.py b/tests/honcho_plugin/test_oauth.py
index 87f0d0ee9f8..d31cce810e4 100644
--- a/tests/honcho_plugin/test_oauth.py
+++ b/tests/honcho_plugin/test_oauth.py
@@ -265,5 +265,4 @@ class TestPersistReadFailure:
assert oauth._read_config_strict(tmp_path / "honcho.json") == {}
path = tmp_path / "honcho.json"
path.write_text(json.dumps({"hosts": {"keep.example": _host_block()}}), encoding="utf-8-sig")
- assert "keep.example" in oauth._read_config(path).get("hosts", {})
assert "keep.example" in oauth._read_config_strict(path).get("hosts", {})