Skip to content

Commit

Permalink
fix MattermostWebhook tests (#16433)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz authored Dec 18, 2024
1 parent 81a122a commit 581510a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/blocks/test_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ async def test_notify_async(self):

AppriseMock.assert_called_once()
apprise_instance_mock.add.assert_called_once_with(
f"mmost://{mm_block.hostname}/{mm_block.token.get_secret_value()}/"
f"mmost://{mm_block.hostname}:8065/{mm_block.token.get_secret_value()}/"
"?image=yes&format=text&overflow=upstream"
)
apprise_instance_mock.async_notify.assert_awaited_once_with(
Expand All @@ -185,7 +185,7 @@ def test_flow():

AppriseMock.assert_called_once()
apprise_instance_mock.add.assert_called_once_with(
f"mmost://{mm_block.hostname}/{mm_block.token.get_secret_value()}/"
f"mmost://{mm_block.hostname}:8065/{mm_block.token.get_secret_value()}/"
"?image=no&format=text&overflow=upstream"
)
apprise_instance_mock.async_notify.assert_called_once_with(
Expand All @@ -211,7 +211,7 @@ def test_flow():

AppriseMock.assert_called_once()
apprise_instance_mock.add.assert_called_once_with(
f"mmost://{mm_block.hostname}/{mm_block.token.get_secret_value()}/"
f"mmost://{mm_block.hostname}:8065/{mm_block.token.get_secret_value()}/"
"?image=no&format=text&overflow=upstream"
"&channel=death-metal-anonymous%2Cgeneral"
)
Expand Down

0 comments on commit 581510a

Please sign in to comment.