Skip to content

Commit

Permalink
added entries for admin_conversations_restrict_access_*
Browse files Browse the repository at this point in the history
  • Loading branch information
ruberVulpes authored and seratch committed Aug 28, 2020
1 parent d97b65f commit 666916d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/web/test_web_client_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,15 @@ async def test_coverage(self):
elif method_name == "mpim_replies":
self.api_methods_to_call.remove(method(channel="D123", thread_ts="123.123")["method"])
await async_method(channel="D123", thread_ts="123.123")
elif method_name == "admin_conversations_restrictAccess_addGroup":
self.api_methods_to_call.remove(method(channel_id="D123", group_id="G123")["method"])
await async_method(channel_id="D123", group_id="G123")
elif method_name == "admin_conversations_restrictAccess_listGroups":
self.api_methods_to_call.remove(method(channel_id="D123", group_id="G123")["method"])
await async_method(channel_id="D123", group_id="G123")
elif method_name == "admin_conversations_restrictAccess_removeGroup":
self.api_methods_to_call.remove(method(channel_id="D123", group_id="G123", team_id="T13")["method"])
await async_method(channel_id="D123", group_id="G123", team_id="T123")
else:
self.api_methods_to_call.remove(method(*{})["method"])
await async_method(*{})
Expand Down

0 comments on commit 666916d

Please sign in to comment.