Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
test(msteams): align stale-ref test with sidecar metadata
Xubin Ren367a6db78c68
diff --git a/tests/test_msteams.py b/tests/test_msteams.pyindex d9f75b319..0671f9f58 100644--- a/tests/test_msteams.py+++ b/tests/test_msteams.py@@ -871,7 +871,8 @@ def test_save_refs_prunes_webchat_and_stale_refs(make_channel):assert set(ch._conversation_refs) == {"teams-good"}saved = json.loads(ch._refs_path.read_text(encoding="utf-8"))assert set(saved) == {"teams-good"}- assert saved["teams-good"]["updated_at"] == pytest.approx(now)+ saved_meta = json.loads(ch._refs_meta_path.read_text(encoding="utf-8"))+ assert saved_meta["teams-good"]["updated_at"] == pytest.approx(now)def test_msteams_default_config_includes_restart_notify_fields():