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