33import unittest
44
55from integration_tests .env_variable_names import (
6- SLACK_SDK_TEST_GRID_ORG_ADMIN_USER_TOKEN , SLACK_SDK_TEST_GRID_USER_ID_ADMIN_AUTH ,
6+ SLACK_SDK_TEST_GRID_ORG_ADMIN_USER_TOKEN ,
7+ SLACK_SDK_TEST_GRID_USER_ID_ADMIN_AUTH ,
78)
89from integration_tests .helpers import async_test
910from slack_sdk .web import WebClient
@@ -26,7 +27,9 @@ def tearDown(self):
2627 def test_sync (self ):
2728 client = self .sync_client
2829
29- list = client .admin_auth_policy_getEntities (policy_name = "email_password" , limit = 3 )
30+ list = client .admin_auth_policy_getEntities (
31+ policy_name = "email_password" , limit = 3
32+ )
3033 self .assertIsNotNone (list )
3134
3235 assignment = client .admin_auth_policy_assignEntities (
@@ -35,7 +38,9 @@ def test_sync(self):
3538 entity_type = "USER" ,
3639 )
3740 self .assertIsNotNone (assignment )
38- self .assertEqual (list ["entity_total_count" ] + 1 , assignment ["entity_total_count" ])
41+ self .assertEqual (
42+ list ["entity_total_count" ] + 1 , assignment ["entity_total_count" ]
43+ )
3944
4045 removal = client .admin_auth_policy_removeEntities (
4146 entity_ids = self .user_ids ,
@@ -49,7 +54,9 @@ def test_sync(self):
4954 async def test_async (self ):
5055 client = self .async_client
5156
52- list = await client .admin_auth_policy_getEntities (policy_name = "email_password" , limit = 3 )
57+ list = await client .admin_auth_policy_getEntities (
58+ policy_name = "email_password" , limit = 3
59+ )
5360 self .assertIsNotNone (list )
5461
5562 assignment = await client .admin_auth_policy_assignEntities (
@@ -58,7 +65,9 @@ async def test_async(self):
5865 entity_type = "USER" ,
5966 )
6067 self .assertIsNotNone (assignment )
61- self .assertEqual (list ["entity_total_count" ] + 1 , assignment ["entity_total_count" ])
68+ self .assertEqual (
69+ list ["entity_total_count" ] + 1 , assignment ["entity_total_count" ]
70+ )
6271
6372 removal = await client .admin_auth_policy_removeEntities (
6473 entity_ids = self .user_ids ,
0 commit comments