The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: expect expired Discord approval controls to be removed
Gille83653830e531
diff --git a/tests/gateway/test_discord_view_base_parity.py b/tests/gateway/test_discord_view_base_parity.pyindex 9a6bf9a3c40..f9460ff1dc5 100644--- a/tests/gateway/test_discord_view_base_parity.py+++ b/tests/gateway/test_discord_view_base_parity.py@@ -88,7 +88,12 @@ async def test_on_timeout_disables_and_greys_embed(name):assert view.resolved is Trueassert all(child.disabled for child in view.children)assert embed.footer- msg.edit.assert_awaited_once_with(embed=embed, view=view)+ assert embed.color is not None+ # Exec cards remove controls entirely so competing timeout edits cannot+ # reattach a retired approval view.+ msg.edit.assert_awaited_once_with(embed=embed, view=None if name == "exec" else view)+ if name == "exec":+ assert view.is_finished()@pytest.mark.asyncio