github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python-legacy/test/test_external_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.external_api import ExternalApi # noqa: E501 16 17 18 class TestExternalApi(unittest.TestCase): 19 """ExternalApi unit test stubs""" 20 21 def setUp(self): 22 self.api = ExternalApi() # noqa: E501 23 24 def tearDown(self): 25 pass 26 27 def test_create_user_external_principal(self): 28 """Test case for create_user_external_principal 29 30 attach external principal to user # noqa: E501 31 """ 32 pass 33 34 def test_delete_user_external_principal(self): 35 """Test case for delete_user_external_principal 36 37 delete external principal from user # noqa: E501 38 """ 39 pass 40 41 def test_external_principal_login(self): 42 """Test case for external_principal_login 43 44 perform a login using an external authenticator # noqa: E501 45 """ 46 pass 47 48 def test_get_external_principal(self): 49 """Test case for get_external_principal 50 51 describe external principal by id # noqa: E501 52 """ 53 pass 54 55 def test_list_user_external_principals(self): 56 """Test case for list_user_external_principals 57 58 list user external policies attached to a user # noqa: E501 59 """ 60 pass 61 62 63 if __name__ == '__main__': 64 unittest.main()