Skip to content

Commit e33a4c3

Browse files
committed
test: confirm comma separate values are accepted in methods
1 parent 95deef4 commit e33a4c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/slack_sdk_async/web/test_web_client_coverage.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,16 +835,24 @@ async def run_method(self, method_name, method, async_method):
835835
await async_method(view_id="V123", view={})
836836
elif method_name == "workflows_featured_add":
837837
self.api_methods_to_call.remove(method(channel_id="C123", trigger_ids=["Ft123", "Ft234"])["method"])
838+
method(channel_id="C123", trigger_ids="Ft123,Ft234")
838839
await async_method(channel_id="C123", trigger_ids=["Ft123", "Ft234"])
840+
await async_method(channel_id="C123", trigger_ids="Ft123,Ft234")
839841
elif method_name == "workflows_featured_list":
840842
self.api_methods_to_call.remove(method(channel_ids=["C123", "C234"])["method"])
843+
method(channel_ids="C123,C234")
841844
await async_method(channel_ids=["C123", "C234"])
845+
await async_method(channel_ids="C123,C234")
842846
elif method_name == "workflows_featured_remove":
843847
self.api_methods_to_call.remove(method(channel_id="C123", trigger_ids=["Ft123", "Ft234"])["method"])
848+
method(channel_id="C123", trigger_ids="Ft123,Ft234")
844849
await async_method(channel_id="C123", trigger_ids=["Ft123", "Ft234"])
850+
await async_method(channel_id="C123", trigger_ids="Ft123,Ft234")
845851
elif method_name == "workflows_featured_set":
846852
self.api_methods_to_call.remove(method(channel_id="C123", trigger_ids=["Ft123", "Ft234"])["method"])
853+
method(channel_id="C123", trigger_ids="Ft123,Ft234")
847854
await async_method(channel_id="C123", trigger_ids=["Ft123", "Ft234"])
855+
await async_method(channel_id="C123", trigger_ids="Ft123,Ft234")
848856
elif method_name == "workflows_stepCompleted":
849857
self.api_methods_to_call.remove(method(workflow_step_execute_id="S123", outputs={})["method"])
850858
await async_method(workflow_step_execute_id="S123", outputs={})

0 commit comments

Comments
 (0)