test(matrix): adapt outbound-mention notice test to current _send_simple_message API
This commit is contained in:
parent
32b78578e0
commit
6649e7e746
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue