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