Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

Fix ruff format CI failure

Timo Bozsolik-Torres856d834acb32
diff --git a/core/tests/integration/test_switch_trust_agent_e2e.py b/core/tests/integration/test_switch_trust_agent_e2e.py
index 971c560dc..8dfc3cb93 100644
--- a/core/tests/integration/test_switch_trust_agent_e2e.py
+++ b/core/tests/integration/test_switch_trust_agent_e2e.py
@@ -259,7 +259,11 @@ async def test_alerted_agent_message_is_sent_with_a_separate_notice(
)
rows = await _timeline_messages(harness, session_env, room_id)
- sent = [row for row in rows if row.content.get("body") == "my email is [email protected]"]
+ sent = [
+ row
+ for row in rows
+ if row.content.get("body") == "my email is [email protected]"
+ ]
assert len(sent) == 1
admin_rows = [row for row in rows if "com.switch.admin" in row.content]
assert len(admin_rows) == 1