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