Elffuss BraidHub

kikocis/continue public

4131ae02de3e · 2.5 KiBRawPermalink
1# coding: utf-8
2
3"""
4 Continue Hub IDE API
5
6 API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
7
8 The version of the OpenAPI document: 1.0.0
9 Generated by OpenAPI Generator (https://openapi-generator.tech)
10
11 Do not edit the class manually.
12""" # noqa: E501
13
14
15import unittest
16
17from openapi_client.models.get_assistant200_response import GetAssistant200Response
18
19class TestGetAssistant200Response(unittest.TestCase):
20 """GetAssistant200Response unit test stubs"""
21
22 def setUp(self):
23 pass
24
25 def tearDown(self):
26 pass
27
28 def make_instance(self, include_optional) -> GetAssistant200Response:
29 """Test GetAssistant200Response
30 include_optional is a boolean, when False only required
31 params are included, when True both required and
32 optional params are included """
33 # uncomment below to create an instance of `GetAssistant200Response`
34 """
35 model = GetAssistant200Response()
36 if include_optional:
37 return GetAssistant200Response(
38 config_result = openapi_client.models.list_assistants_200_response_inner_config_result.listAssistants_200_response_inner_configResult(
39 config = openapi_client.models.config.config(),
40 config_load_interrupted = True,
41 errors = [
42 ''
43 ], ),
44 owner_slug = '',
45 package_slug = '',
46 icon_url = '',
47 on_prem_proxy_url = '',
48 use_on_prem_proxy = True,
49 raw_yaml = ''
50 )
51 else:
52 return GetAssistant200Response(
53 config_result = openapi_client.models.list_assistants_200_response_inner_config_result.listAssistants_200_response_inner_configResult(
54 config = openapi_client.models.config.config(),
55 config_load_interrupted = True,
56 errors = [
57 ''
58 ], ),
59 owner_slug = '',
60 package_slug = '',
61 )
62 """
63
64 def testGetAssistant200Response(self):
65 """Test GetAssistant200Response"""
66 # inst_req_only = self.make_instance(include_optional=False)
67 # inst_req_and_optional = self.make_instance(include_optional=True)
68
69if __name__ == '__main__':
70 unittest.main()