2023-02-12 21:11:29 +08:00
# coding: utf-8
"""
Echo Server API
2025-01-04 17:08:29 +08:00
Echo Server API
2023-02-12 21:11:29 +08:00
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
2025-01-04 17:08:29 +08:00
Generated by OpenAPI Generator (https://openapi-generator.tech)
2023-02-12 21:11:29 +08:00
2025-01-04 17:08:29 +08:00
Do not edit the class manually.
""" # noqa: E501
2023-02-12 21:11:29 +08:00
import unittest
2025-01-04 17:08:29 +08:00
from openapi_client . models . query import Query
2023-02-12 21:11:29 +08:00
class TestQuery ( unittest . TestCase ) :
""" Query unit test stubs """
def setUp ( self ) :
pass
def tearDown ( self ) :
pass
2025-01-04 17:08:29 +08:00
def make_instance ( self , include_optional ) - > Query :
2023-02-12 21:11:29 +08:00
""" Test Query
2025-01-04 17:08:29 +08:00
include_optional is a boolean, when False only required
2023-02-12 21:11:29 +08:00
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Query`
"""
2025-01-04 17:08:29 +08:00
model = Query()
if include_optional:
2023-02-12 21:11:29 +08:00
return Query(
2025-01-04 17:08:29 +08:00
id = 56,
2023-02-12 21:11:29 +08:00
outcomes = [
' SUCCESS '
]
)
2025-01-04 17:08:29 +08:00
else:
2023-02-12 21:11:29 +08:00
return Query(
)
"""
def testQuery ( self ) :
""" Test Query """
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == ' __main__ ' :
unittest . main ( )