garage-admin-sdk-generator/python/test/test_bucket_api.py

113 lines
2.7 KiB
Python
Raw Normal View History

2022-11-12 21:38:56 +00:00
"""
Garage Administration API v0+garage-v0.8.0
Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!* # noqa: E501
The version of the OpenAPI document: v0.8.0
Generated by: https://openapi-generator.tech
"""
import unittest
import garage_admin_sdk
from garage_admin_sdk.api.bucket_api import BucketApi # noqa: E501
class TestBucketApi(unittest.TestCase):
"""BucketApi unit test stubs"""
def setUp(self):
self.api = BucketApi() # noqa: E501
def tearDown(self):
pass
def test_allow_bucket_key(self):
"""Test case for allow_bucket_key
Allow key # noqa: E501
"""
pass
def test_create_bucket(self):
"""Test case for create_bucket
Create a bucket # noqa: E501
"""
pass
def test_delete_bucket(self):
"""Test case for delete_bucket
Delete a bucket # noqa: E501
"""
pass
def test_delete_bucket_global_alias(self):
"""Test case for delete_bucket_global_alias
Delete a global alias # noqa: E501
"""
pass
def test_delete_bucket_local_alias(self):
"""Test case for delete_bucket_local_alias
Delete a local alias # noqa: E501
"""
pass
def test_deny_bucket_key(self):
"""Test case for deny_bucket_key
Deny key # noqa: E501
"""
pass
def test_find_bucket_info(self):
"""Test case for find_bucket_info
Find a bucket # noqa: E501
"""
pass
def test_get_bucket_info(self):
"""Test case for get_bucket_info
Get a bucket # noqa: E501
"""
pass
def test_list_buckets(self):
"""Test case for list_buckets
List all buckets # noqa: E501
"""
pass
def test_put_bucket_global_alias(self):
"""Test case for put_bucket_global_alias
Add a global alias # noqa: E501
"""
pass
def test_put_bucket_local_alias(self):
"""Test case for put_bucket_local_alias
Add a local alias # noqa: E501
"""
pass
def test_update_bucket(self):
"""Test case for update_bucket
Update a bucket # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()