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