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