def setUp(self): setup_mock_web_api_server(self) self.client = WebClient( token="xoxp-1234", base_url="http://localhost:8888", ) self.async_client = WebClient( token="xoxp-1234", run_async=True, base_url="http://localhost:8888", )
def setUp(self): setup_mock_web_api_server(self) self.client = slack.WebClient(token="xoxb-coverage", base_url="http://localhost:8888") for api_method in self.all_api_methods: if api_method.startswith("apps.") or api_method in [ "oauth.access", "oauth.v2.access", "oauth.token", "users.setActive", ]: continue self.api_methods_to_call.append(api_method)
def setUp(self): setup_mock_web_api_server(self) self.client = slack.WebClient(token="xoxb-coverage", base_url="http://localhost:8888") for api_method in self.all_api_methods: if api_method.startswith("apps.") or api_method in [ "oauth.access", "oauth.v2.access", "oauth.token", "users.setActive", "admin.conversations.whitelist.add", # deprecated "admin.conversations.whitelist.listGroupsLinkedToChannel", # deprecated "admin.conversations.whitelist.remove", # deprecated ]: continue self.api_methods_to_call.append(api_method)
def setUp(self): setup_mock_web_api_server(self)
def setUp(self): setup_mock_web_api_server(self) self.client = AsyncWebClient( token="xoxp-1234", base_url="http://localhost:8888", )
def setUp(self): setup_mock_web_api_server(self) self.client = slack.WebClient(token="xoxb-api_test", base_url="http://localhost:8888")