github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/test/test_internal_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.internal_api import InternalApi  # noqa: E501
    20  from lakefs_sdk.rest import ApiException
    21  
    22  
    23  class TestInternalApi(unittest.TestCase):
    24      """InternalApi unit test stubs"""
    25  
    26      def setUp(self):
    27          self.api = lakefs_sdk.api.internal_api.InternalApi()  # noqa: E501
    28  
    29      def tearDown(self):
    30          pass
    31  
    32      def test_create_branch_protection_rule_preflight(self):
    33          """Test case for create_branch_protection_rule_preflight
    34  
    35          """
    36          pass
    37  
    38      def test_create_commit_record(self):
    39          """Test case for create_commit_record
    40  
    41          create commit record  # noqa: E501
    42          """
    43          pass
    44  
    45      def test_create_symlink_file(self):
    46          """Test case for create_symlink_file
    47  
    48          creates symlink files corresponding to the given directory  # noqa: E501
    49          """
    50          pass
    51  
    52      def test_delete_repository_metadata(self):
    53          """Test case for delete_repository_metadata
    54  
    55          delete repository metadata  # noqa: E501
    56          """
    57          pass
    58  
    59      def test_dump_refs(self):
    60          """Test case for dump_refs
    61  
    62          Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations   # noqa: E501
    63          """
    64          pass
    65  
    66      def test_get_auth_capabilities(self):
    67          """Test case for get_auth_capabilities
    68  
    69          list authentication capabilities supported  # noqa: E501
    70          """
    71          pass
    72  
    73      def test_get_garbage_collection_config(self):
    74          """Test case for get_garbage_collection_config
    75  
    76          """
    77          pass
    78  
    79      def test_get_lake_fs_version(self):
    80          """Test case for get_lake_fs_version
    81  
    82          """
    83          pass
    84  
    85      def test_get_setup_state(self):
    86          """Test case for get_setup_state
    87  
    88          check if the lakeFS installation is already set up  # noqa: E501
    89          """
    90          pass
    91  
    92      def test_get_storage_config(self):
    93          """Test case for get_storage_config
    94  
    95          """
    96          pass
    97  
    98      def test_get_usage_report_summary(self):
    99          """Test case for get_usage_report_summary
   100  
   101          get usage report summary  # noqa: E501
   102          """
   103          pass
   104  
   105      def test_internal_create_branch_protection_rule(self):
   106          """Test case for internal_create_branch_protection_rule
   107  
   108          """
   109          pass
   110  
   111      def test_internal_delete_branch_protection_rule(self):
   112          """Test case for internal_delete_branch_protection_rule
   113  
   114          """
   115          pass
   116  
   117      def test_internal_delete_garbage_collection_rules(self):
   118          """Test case for internal_delete_garbage_collection_rules
   119  
   120          """
   121          pass
   122  
   123      def test_internal_get_branch_protection_rules(self):
   124          """Test case for internal_get_branch_protection_rules
   125  
   126          get branch protection rules  # noqa: E501
   127          """
   128          pass
   129  
   130      def test_internal_get_garbage_collection_rules(self):
   131          """Test case for internal_get_garbage_collection_rules
   132  
   133          """
   134          pass
   135  
   136      def test_internal_set_garbage_collection_rules(self):
   137          """Test case for internal_set_garbage_collection_rules
   138  
   139          """
   140          pass
   141  
   142      def test_post_stats_events(self):
   143          """Test case for post_stats_events
   144  
   145          post stats events, this endpoint is meant for internal use only  # noqa: E501
   146          """
   147          pass
   148  
   149      def test_prepare_garbage_collection_commits(self):
   150          """Test case for prepare_garbage_collection_commits
   151  
   152          save lists of active commits for garbage collection  # noqa: E501
   153          """
   154          pass
   155  
   156      def test_prepare_garbage_collection_uncommitted(self):
   157          """Test case for prepare_garbage_collection_uncommitted
   158  
   159          save repository uncommitted metadata for garbage collection  # noqa: E501
   160          """
   161          pass
   162  
   163      def test_restore_refs(self):
   164          """Test case for restore_refs
   165  
   166          Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations   # noqa: E501
   167          """
   168          pass
   169  
   170      def test_set_garbage_collection_rules_preflight(self):
   171          """Test case for set_garbage_collection_rules_preflight
   172  
   173          """
   174          pass
   175  
   176      def test_set_repository_metadata(self):
   177          """Test case for set_repository_metadata
   178  
   179          set repository metadata  # noqa: E501
   180          """
   181          pass
   182  
   183      def test_setup(self):
   184          """Test case for setup
   185  
   186          setup lakeFS and create a first user  # noqa: E501
   187          """
   188          pass
   189  
   190      def test_setup_comm_prefs(self):
   191          """Test case for setup_comm_prefs
   192  
   193          setup communications preferences  # noqa: E501
   194          """
   195          pass
   196  
   197      def test_stage_object(self):
   198          """Test case for stage_object
   199  
   200          stage an object's metadata for the given branch  # noqa: E501
   201          """
   202          pass
   203  
   204      def test_upload_object_preflight(self):
   205          """Test case for upload_object_preflight
   206  
   207          """
   208          pass
   209  
   210  
   211  if __name__ == '__main__':
   212      unittest.main()