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

57 lines
1.6 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.layout_api import LayoutApi # noqa: E501
class TestLayoutApi(unittest.TestCase):
"""LayoutApi unit test stubs"""
def setUp(self):
self.api = LayoutApi() # noqa: E501
def tearDown(self):
pass
def test_add_layout(self):
"""Test case for add_layout
Send modifications to the cluster layout # noqa: E501
"""
pass
def test_apply_layout(self):
"""Test case for apply_layout
Apply staged layout # noqa: E501
"""
pass
def test_get_layout(self):
"""Test case for get_layout
Details on the current and staged layout # noqa: E501
"""
pass
def test_revert_layout(self):
"""Test case for revert_layout
Clear staged layout # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()