github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/test/test_repositories_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.repositories_api import RepositoriesApi  # noqa: E501
    20  from lakefs_sdk.rest import ApiException
    21  
    22  
    23  class TestRepositoriesApi(unittest.TestCase):
    24      """RepositoriesApi unit test stubs"""
    25  
    26      def setUp(self):
    27          self.api = lakefs_sdk.api.repositories_api.RepositoriesApi()  # noqa: E501
    28  
    29      def tearDown(self):
    30          pass
    31  
    32      def test_create_repository(self):
    33          """Test case for create_repository
    34  
    35          create repository  # noqa: E501
    36          """
    37          pass
    38  
    39      def test_delete_gc_rules(self):
    40          """Test case for delete_gc_rules
    41  
    42          """
    43          pass
    44  
    45      def test_delete_repository(self):
    46          """Test case for delete_repository
    47  
    48          delete repository  # noqa: E501
    49          """
    50          pass
    51  
    52      def test_dump_status(self):
    53          """Test case for dump_status
    54  
    55          Status of a repository dump task  # noqa: E501
    56          """
    57          pass
    58  
    59      def test_dump_submit(self):
    60          """Test case for dump_submit
    61  
    62          Backup the repository metadata (tags, commits, branches) and save the backup to the object store.  # noqa: E501
    63          """
    64          pass
    65  
    66      def test_get_branch_protection_rules(self):
    67          """Test case for get_branch_protection_rules
    68  
    69          get branch protection rules  # noqa: E501
    70          """
    71          pass
    72  
    73      def test_get_gc_rules(self):
    74          """Test case for get_gc_rules
    75  
    76          get repository GC rules  # noqa: E501
    77          """
    78          pass
    79  
    80      def test_get_repository(self):
    81          """Test case for get_repository
    82  
    83          get repository  # noqa: E501
    84          """
    85          pass
    86  
    87      def test_get_repository_metadata(self):
    88          """Test case for get_repository_metadata
    89  
    90          get repository metadata  # noqa: E501
    91          """
    92          pass
    93  
    94      def test_list_repositories(self):
    95          """Test case for list_repositories
    96  
    97          list repositories  # noqa: E501
    98          """
    99          pass
   100  
   101      def test_restore_status(self):
   102          """Test case for restore_status
   103  
   104          Status of a restore request  # noqa: E501
   105          """
   106          pass
   107  
   108      def test_restore_submit(self):
   109          """Test case for restore_submit
   110  
   111          Restore repository from a dump in the object store  # noqa: E501
   112          """
   113          pass
   114  
   115      def test_set_branch_protection_rules(self):
   116          """Test case for set_branch_protection_rules
   117  
   118          """
   119          pass
   120  
   121      def test_set_gc_rules(self):
   122          """Test case for set_gc_rules
   123  
   124          """
   125          pass
   126  
   127  
   128  if __name__ == '__main__':
   129      unittest.main()