From 803c14741516b4bab31d3e1b99deabe59b49ef29 Mon Sep 17 00:00:00 2001 From: Lennart Kuijs Date: Mon, 23 Oct 2023 12:33:43 +0100 Subject: [PATCH] feat: sns --- stream_chat/tests/async_chat/test_client.py | 2 +- stream_chat/tests/test_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stream_chat/tests/async_chat/test_client.py b/stream_chat/tests/async_chat/test_client.py index 604446a..f51c9c9 100644 --- a/stream_chat/tests/async_chat/test_client.py +++ b/stream_chat/tests/async_chat/test_client.py @@ -619,7 +619,7 @@ async def test_check_push( async def test_check_sqs(self, client: StreamChatAsync): response = await client.check_sqs("key", "secret", "https://foo.com/bar") assert response["status"] == "error" - assert "invalid SQS url" in response["error"] + assert "publishing the message failed." in response["error"] async def test_check_sns(self, client: StreamChatAsync): response = await client.check_sns( diff --git a/stream_chat/tests/test_client.py b/stream_chat/tests/test_client.py index b9d6596..31b5b05 100644 --- a/stream_chat/tests/test_client.py +++ b/stream_chat/tests/test_client.py @@ -586,7 +586,7 @@ def test_check_push(self, client: StreamChat, channel: Channel, random_user: Dic def test_check_sqs(self, client: StreamChat): response = client.check_sqs("key", "secret", "https://foo.com/bar") assert response["status"] == "error" - assert "invalid SQS url" in response["error"] + assert "publishing the message failed." in response["error"] def test_check_sns(self, client: StreamChat): response = client.check_sns(