Skip to content

Commit f36cb28

Browse files
committed
test: confirm blocks can be passed to stop stream
1 parent de72f66 commit f36cb28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/slack_sdk_async/web/test_web_client_coverage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,8 @@ async def run_method(self, method_name, method, async_method):
571571
self.api_methods_to_call.remove(method(channel="C123")["method"])
572572
await async_method(channel="C123")
573573
elif method_name == "chat_stopStream":
574-
self.api_methods_to_call.remove(method(channel="C123", ts="123.123")["method"])
575-
await async_method(channel="C123", ts="123.123")
574+
self.api_methods_to_call.remove(method(channel="C123", ts="123.123", blocks=[{"type":"markdown","text":"**twelve**"}])["method"])
575+
await async_method(channel="C123", ts="123.123", blocks=[{"type":"markdown","text":"**twelve**"}])
576576
elif method_name == "chat_unfurl":
577577
self.api_methods_to_call.remove(
578578
method(

0 commit comments

Comments
 (0)