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