github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/test/test_objects_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.objects_api import ObjectsApi  # noqa: E501
    20  from lakefs_sdk.rest import ApiException
    21  
    22  
    23  class TestObjectsApi(unittest.TestCase):
    24      """ObjectsApi unit test stubs"""
    25  
    26      def setUp(self):
    27          self.api = lakefs_sdk.api.objects_api.ObjectsApi()  # noqa: E501
    28  
    29      def tearDown(self):
    30          pass
    31  
    32      def test_copy_object(self):
    33          """Test case for copy_object
    34  
    35          create a copy of an object  # noqa: E501
    36          """
    37          pass
    38  
    39      def test_delete_object(self):
    40          """Test case for delete_object
    41  
    42          delete object. Missing objects will not return a NotFound error.  # noqa: E501
    43          """
    44          pass
    45  
    46      def test_delete_objects(self):
    47          """Test case for delete_objects
    48  
    49          delete objects. Missing objects will not return a NotFound error.  # noqa: E501
    50          """
    51          pass
    52  
    53      def test_get_object(self):
    54          """Test case for get_object
    55  
    56          get object content  # noqa: E501
    57          """
    58          pass
    59  
    60      def test_get_underlying_properties(self):
    61          """Test case for get_underlying_properties
    62  
    63          get object properties on underlying storage  # noqa: E501
    64          """
    65          pass
    66  
    67      def test_head_object(self):
    68          """Test case for head_object
    69  
    70          check if object exists  # noqa: E501
    71          """
    72          pass
    73  
    74      def test_list_objects(self):
    75          """Test case for list_objects
    76  
    77          list objects under a given prefix  # noqa: E501
    78          """
    79          pass
    80  
    81      def test_stat_object(self):
    82          """Test case for stat_object
    83  
    84          get object metadata  # noqa: E501
    85          """
    86          pass
    87  
    88      def test_upload_object(self):
    89          """Test case for upload_object
    90  
    91          """
    92          pass
    93  
    94  
    95  if __name__ == '__main__':
    96      unittest.main()