From 6649e7e7465c932d66979de554f775d186acb018 Mon Sep 17 00:00:00 2001 From: Teknium Date: Mon, 27 Apr 2026 21:10:11 -0700 Subject: [PATCH] test(matrix): adapt outbound-mention notice test to current _send_simple_message API --- tests/gateway/test_matrix_mention.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/gateway/test_matrix_mention.py b/tests/gateway/test_matrix_mention.py index c85add575..6c34dbce8 100644 --- a/tests/gateway/test_matrix_mention.py +++ b/tests/gateway/test_matrix_mention.py @@ -247,10 +247,11 @@ class TestOutboundMentions: ) @pytest.mark.asyncio - async def test_send_notice_adds_mentions(self): - result = await self.adapter.send_notice( + async def test_send_simple_notice_adds_mentions(self): + result = await self.adapter._send_simple_message( "!room1:example.org", "Heads up @alice:example.org", + msgtype="m.notice", ) assert result.success is True