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