Adam Goldsmith
98daa460a6
Actual generator command: ```bash java -jar openapi-generator-cli-5.4.0.jar generate -g python-legacy \ --library asyncio \ --package-name openapi_client_udm \ --additional-properties=packageVersion=1.0.2 \ -i udm_openapi.json \ -o ./python ```
83 lines
2.3 KiB
Python
83 lines
2.3 KiB
Python
# coding: utf-8
|
|
|
|
"""
|
|
Univention Directory Manager REST interface
|
|
|
|
Schema definition for the objects in the Univention Directory Manager REST interface. # noqa: E501
|
|
|
|
The version of the OpenAPI document: 1.0.2
|
|
Generated by: https://openapi-generator.tech
|
|
"""
|
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
import unittest
|
|
|
|
import openapi_client_udm
|
|
from openapi_client_udm.api.portals_portal_api import PortalsPortalApi # noqa: E501
|
|
from openapi_client_udm.rest import ApiException
|
|
|
|
|
|
class TestPortalsPortalApi(unittest.TestCase):
|
|
"""PortalsPortalApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = openapi_client_udm.api.portals_portal_api.PortalsPortalApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_udm_portals_portal_object(self):
|
|
"""Test case for udm_portals_portal_object
|
|
|
|
Get a representation of the Portal object with all its properties, policies, options, metadata and references. Includes also instructions how to modify, remove or move the object. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_portals_portal_object_create(self):
|
|
"""Test case for udm_portals_portal_object_create
|
|
|
|
Create a new Portal object # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_portals_portal_object_modify(self):
|
|
"""Test case for udm_portals_portal_object_modify
|
|
|
|
Modify or move an Portal object # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_portals_portal_object_remove(self):
|
|
"""Test case for udm_portals_portal_object_remove
|
|
|
|
Remove a Portals object # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_portals_portal_object_search(self):
|
|
"""Test case for udm_portals_portal_object_search
|
|
|
|
Search for Portals objects # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_portals_portal_object_template(self):
|
|
"""Test case for udm_portals_portal_object_template
|
|
|
|
Get a template for creating an Portal object (contains all properties and their default values) # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_portals_portal_object_update(self):
|
|
"""Test case for udm_portals_portal_object_update
|
|
|
|
Modify an Portal object (moving is currently not possible) # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|