2022-09-12 15:02:35 +00:00
|
|
|
"""
|
|
|
|
Garage Administration API v0+garage-v0.7.3
|
|
|
|
|
|
|
|
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.7.3
|
|
|
|
Generated by: https://openapi-generator.tech
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
import unittest
|
|
|
|
|
2022-09-13 14:00:03 +00:00
|
|
|
import garage_admin_sdk
|
|
|
|
from garage_admin_sdk.api.membership_api import MembershipApi # noqa: E501
|
2022-09-12 15:02:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
class TestMembershipApi(unittest.TestCase):
|
|
|
|
"""MembershipApi unit test stubs"""
|
|
|
|
|
|
|
|
def setUp(self):
|
|
|
|
self.api = MembershipApi() # noqa: E501
|
|
|
|
|
|
|
|
def tearDown(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def test_connect_post(self):
|
|
|
|
"""Test case for connect_post
|
|
|
|
|
|
|
|
Connect target node to other Garage nodes # noqa: E501
|
|
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
def test_status_get(self):
|
|
|
|
"""Test case for status_get
|
|
|
|
|
|
|
|
Status of this node and other nodes in the cluster # noqa: E501
|
|
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
unittest.main()
|