(self)
| 197 | self.assertTrue(len(users) == 4) |
| 198 | |
| 199 | def test_token_param(self): |
| 200 | client = WebClient(base_url="http://localhost:8888") |
| 201 | with self.assertRaises(err.SlackApiError): |
| 202 | client.users_list() |
| 203 | resp = client.users_list(token="xoxb-users_list_pagination") |
| 204 | self.assertIsNone(resp["error"]) |
| 205 | with self.assertRaises(err.SlackApiError): |
| 206 | client.users_list() |
| 207 | |
| 208 | @async_test |
| 209 | async def test_token_param_async(self): |
nothing calls this directly
no test coverage detected