github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/test/test_refs_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.refs_api import RefsApi  # noqa: E501
    20  from lakefs_sdk.rest import ApiException
    21  
    22  
    23  class TestRefsApi(unittest.TestCase):
    24      """RefsApi unit test stubs"""
    25  
    26      def setUp(self):
    27          self.api = lakefs_sdk.api.refs_api.RefsApi()  # noqa: E501
    28  
    29      def tearDown(self):
    30          pass
    31  
    32      def test_diff_refs(self):
    33          """Test case for diff_refs
    34  
    35          diff references  # noqa: E501
    36          """
    37          pass
    38  
    39      def test_find_merge_base(self):
    40          """Test case for find_merge_base
    41  
    42          find the merge base for 2 references  # noqa: E501
    43          """
    44          pass
    45  
    46      def test_log_commits(self):
    47          """Test case for log_commits
    48  
    49          get commit log from ref. If both objects and prefixes are empty, return all commits.  # noqa: E501
    50          """
    51          pass
    52  
    53      def test_merge_into_branch(self):
    54          """Test case for merge_into_branch
    55  
    56          merge references  # noqa: E501
    57          """
    58          pass
    59  
    60  
    61  if __name__ == '__main__':
    62      unittest.main()