Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
Give the broken-Word-document test stable ids
Petr Bauch64268b9984c5
diff --git a/core/tests/switch_core/trust/test_attachments.py b/core/tests/switch_core/trust/test_attachments.pyindex ddd0d6075..c9573888c 100644--- a/core/tests/switch_core/trust/test_attachments.py+++ b/core/tests/switch_core/trust/test_attachments.py@@ -371,6 +371,9 @@ def test_a_word_document_is_recognised_by_extension_alone() -> None:}),],+ # The zips carry the time they were built at, so an id made from their+ # bytes differs between pytest-xdist workers collecting a second apart.+ ids=["not-a-zip", "no-document-body", "body-named-but-missing"],)def test_a_broken_word_document_is_unchecked_not_an_error(data: bytes) -> None:file_text = extract_file_text(data, _DOCX_TYPE, "memo.docx")