github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python-legacy/test/test_branches_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.branches_api import BranchesApi # noqa: E501 16 17 18 class TestBranchesApi(unittest.TestCase): 19 """BranchesApi unit test stubs""" 20 21 def setUp(self): 22 self.api = BranchesApi() # noqa: E501 23 24 def tearDown(self): 25 pass 26 27 def test_cherry_pick(self): 28 """Test case for cherry_pick 29 30 Replay the changes from the given commit on the branch # noqa: E501 31 """ 32 pass 33 34 def test_create_branch(self): 35 """Test case for create_branch 36 37 create branch # noqa: E501 38 """ 39 pass 40 41 def test_delete_branch(self): 42 """Test case for delete_branch 43 44 delete branch # noqa: E501 45 """ 46 pass 47 48 def test_diff_branch(self): 49 """Test case for diff_branch 50 51 diff branch # noqa: E501 52 """ 53 pass 54 55 def test_get_branch(self): 56 """Test case for get_branch 57 58 get branch # noqa: E501 59 """ 60 pass 61 62 def test_list_branches(self): 63 """Test case for list_branches 64 65 list branches # noqa: E501 66 """ 67 pass 68 69 def test_reset_branch(self): 70 """Test case for reset_branch 71 72 reset branch # noqa: E501 73 """ 74 pass 75 76 def test_revert_branch(self): 77 """Test case for revert_branch 78 79 revert # noqa: E501 80 """ 81 pass 82 83 84 if __name__ == '__main__': 85 unittest.main()