# coding: utf-8
"""
System Initiative API
The API Server for interacting with a System Initiative workspace
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
import unittest
from system_initiative_api_client.models.component_search_result import ComponentSearchResult
class TestComponentSearchResult(unittest.TestCase):
"""ComponentSearchResult unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional) -> ComponentSearchResult:
"""Test ComponentSearchResult
include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `ComponentSearchResult`
"""
model = ComponentSearchResult()
if include_optional:
return ComponentSearchResult(
id = '01H9ZQD35JPMBGHH69BT0Q79AA',
name = 'MyInstance',
var_schema = system_initiative_api_client.models.component_search_result_schema.ComponentSearchResultSchema(
name = 'AWS::EC2::Instance', )
)
else:
return ComponentSearchResult(
id = '01H9ZQD35JPMBGHH69BT0Q79AA',
name = 'MyInstance',
var_schema = system_initiative_api_client.models.component_search_result_schema.ComponentSearchResultSchema(
name = 'AWS::EC2::Instance', ),
)
"""
def testComponentSearchResult(self):
"""Test ComponentSearchResult"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()