slack_transfer.functions.common.test_downloader#

slack_transfer.functions.common.test_downloader(client: WebClient) None[source]#

test connections to slack as downloader.

This test including common scope for DownloaderClient. The token set to the client use this method requires the following scope:

  • bookmarks:read

  • emoji:read

  • users:read

If one of the scope is missing, this method rise an error. Those tests are performed step by step. It means that missing scope appears not at once.

Parameters

client (WebClient) – client. If use this via any Client Class, self is automatically set. Thus, ignore this.