github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/test/test_auth_api.py (about) 1 # coding: utf-8 2 3 """ 4 lakeFS API 5 6 lakeFS HTTP API 7 8 The version of the OpenAPI document: 1.0.0 9 Contact: services@treeverse.io 10 Generated by OpenAPI Generator (https://openapi-generator.tech) 11 12 Do not edit the class manually. 13 """ # noqa: E501 14 15 16 import unittest 17 18 import lakefs_sdk 19 from lakefs_sdk.api.auth_api import AuthApi # noqa: E501 20 from lakefs_sdk.rest import ApiException 21 22 23 class TestAuthApi(unittest.TestCase): 24 """AuthApi unit test stubs""" 25 26 def setUp(self): 27 self.api = lakefs_sdk.api.auth_api.AuthApi() # noqa: E501 28 29 def tearDown(self): 30 pass 31 32 def test_add_group_membership(self): 33 """Test case for add_group_membership 34 35 add group membership # noqa: E501 36 """ 37 pass 38 39 def test_attach_policy_to_group(self): 40 """Test case for attach_policy_to_group 41 42 attach policy to group # noqa: E501 43 """ 44 pass 45 46 def test_attach_policy_to_user(self): 47 """Test case for attach_policy_to_user 48 49 attach policy to user # noqa: E501 50 """ 51 pass 52 53 def test_create_credentials(self): 54 """Test case for create_credentials 55 56 create credentials # noqa: E501 57 """ 58 pass 59 60 def test_create_group(self): 61 """Test case for create_group 62 63 create group # noqa: E501 64 """ 65 pass 66 67 def test_create_policy(self): 68 """Test case for create_policy 69 70 create policy # noqa: E501 71 """ 72 pass 73 74 def test_create_user(self): 75 """Test case for create_user 76 77 create user # noqa: E501 78 """ 79 pass 80 81 def test_create_user_external_principal(self): 82 """Test case for create_user_external_principal 83 84 attach external principal to user # noqa: E501 85 """ 86 pass 87 88 def test_delete_credentials(self): 89 """Test case for delete_credentials 90 91 delete credentials # noqa: E501 92 """ 93 pass 94 95 def test_delete_group(self): 96 """Test case for delete_group 97 98 delete group # noqa: E501 99 """ 100 pass 101 102 def test_delete_group_membership(self): 103 """Test case for delete_group_membership 104 105 delete group membership # noqa: E501 106 """ 107 pass 108 109 def test_delete_policy(self): 110 """Test case for delete_policy 111 112 delete policy # noqa: E501 113 """ 114 pass 115 116 def test_delete_user(self): 117 """Test case for delete_user 118 119 delete user # noqa: E501 120 """ 121 pass 122 123 def test_delete_user_external_principal(self): 124 """Test case for delete_user_external_principal 125 126 delete external principal from user # noqa: E501 127 """ 128 pass 129 130 def test_detach_policy_from_group(self): 131 """Test case for detach_policy_from_group 132 133 detach policy from group # noqa: E501 134 """ 135 pass 136 137 def test_detach_policy_from_user(self): 138 """Test case for detach_policy_from_user 139 140 detach policy from user # noqa: E501 141 """ 142 pass 143 144 def test_external_principal_login(self): 145 """Test case for external_principal_login 146 147 perform a login using an external authenticator # noqa: E501 148 """ 149 pass 150 151 def test_get_credentials(self): 152 """Test case for get_credentials 153 154 get credentials # noqa: E501 155 """ 156 pass 157 158 def test_get_current_user(self): 159 """Test case for get_current_user 160 161 get current user # noqa: E501 162 """ 163 pass 164 165 def test_get_external_principal(self): 166 """Test case for get_external_principal 167 168 describe external principal by id # noqa: E501 169 """ 170 pass 171 172 def test_get_group(self): 173 """Test case for get_group 174 175 get group # noqa: E501 176 """ 177 pass 178 179 def test_get_group_acl(self): 180 """Test case for get_group_acl 181 182 get ACL of group # noqa: E501 183 """ 184 pass 185 186 def test_get_policy(self): 187 """Test case for get_policy 188 189 get policy # noqa: E501 190 """ 191 pass 192 193 def test_get_user(self): 194 """Test case for get_user 195 196 get user # noqa: E501 197 """ 198 pass 199 200 def test_list_group_members(self): 201 """Test case for list_group_members 202 203 list group members # noqa: E501 204 """ 205 pass 206 207 def test_list_group_policies(self): 208 """Test case for list_group_policies 209 210 list group policies # noqa: E501 211 """ 212 pass 213 214 def test_list_groups(self): 215 """Test case for list_groups 216 217 list groups # noqa: E501 218 """ 219 pass 220 221 def test_list_policies(self): 222 """Test case for list_policies 223 224 list policies # noqa: E501 225 """ 226 pass 227 228 def test_list_user_credentials(self): 229 """Test case for list_user_credentials 230 231 list user credentials # noqa: E501 232 """ 233 pass 234 235 def test_list_user_external_principals(self): 236 """Test case for list_user_external_principals 237 238 list user external policies attached to a user # noqa: E501 239 """ 240 pass 241 242 def test_list_user_groups(self): 243 """Test case for list_user_groups 244 245 list user groups # noqa: E501 246 """ 247 pass 248 249 def test_list_user_policies(self): 250 """Test case for list_user_policies 251 252 list user policies # noqa: E501 253 """ 254 pass 255 256 def test_list_users(self): 257 """Test case for list_users 258 259 list users # noqa: E501 260 """ 261 pass 262 263 def test_login(self): 264 """Test case for login 265 266 perform a login # noqa: E501 267 """ 268 pass 269 270 def test_set_group_acl(self): 271 """Test case for set_group_acl 272 273 set ACL of group # noqa: E501 274 """ 275 pass 276 277 def test_update_policy(self): 278 """Test case for update_policy 279 280 update policy # noqa: E501 281 """ 282 pass 283 284 285 if __name__ == '__main__': 286 unittest.main()