Skip to content

Your lightweight open-source personal agent.

test(feishu): cover topic isolation alias

Xubin Ren117542033958
diff --git a/tests/channels/test_feishu_reply.py b/tests/channels/test_feishu_reply.py
index acce38c4e..50bc55a53 100644
--- a/tests/channels/test_feishu_reply.py
+++ b/tests/channels/test_feishu_reply.py
@@ -109,6 +109,11 @@ def test_feishu_config_topic_isolation_can_be_disabled() -> None:
assert config.topic_isolation is False
+def test_feishu_config_topic_isolation_accepts_camel_case() -> None:
+ config = FeishuConfig.model_validate({"topicIsolation": False})
+ assert config.topic_isolation is False
+
+
# ---------------------------------------------------------------------------
# _get_message_content_sync tests
# ---------------------------------------------------------------------------