garage-admin-sdk-python/test/test_key_api.py

78 lines
1.9 KiB
Python
Raw Normal View History

2022-11-13 13:21:12 +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.key_api import KeyApi # noqa: E501
class TestKeyApi(unittest.TestCase):
"""KeyApi unit test stubs"""
def setUp(self):
self.api = KeyApi() # noqa: E501
def tearDown(self):
pass
def test_add_key(self):
"""Test case for add_key
Create a new API key # noqa: E501
"""
pass
def test_delete_key(self):
"""Test case for delete_key
Delete a key # noqa: E501
"""
pass
def test_get_key(self):
"""Test case for get_key
Get key information # noqa: E501
"""
pass
def test_import_key(self):
"""Test case for import_key
Import an existing key # noqa: E501
"""
pass
def test_list_keys(self):
"""Test case for list_keys
List all keys # noqa: E501
"""
pass
def test_search_key(self):
"""Test case for search_key
Select key by pattern # noqa: E501
"""
pass
def test_update_key(self):
"""Test case for update_key
Update a key # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()