-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_v1beta1_get_organization_domain_response.py
60 lines (47 loc) · 2.8 KB
/
test_v1beta1_get_organization_domain_response.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# coding: utf-8
"""
Frontier Administration API
The Frontier APIs adhere to the OpenAPI specification, also known as Swagger, which provides a standardized approach for designing, documenting, and consuming RESTful APIs. With OpenAPI, you gain a clear understanding of the API endpoints, request/response structures, and authentication mechanisms supported by the Frontier APIs. By leveraging the OpenAPI specification, developers can easily explore and interact with the Frontier APIs using a variety of tools and libraries. The OpenAPI specification enables automatic code generation, interactive API documentation, and seamless integration with API testing frameworks, making it easier than ever to integrate Frontier into your existing applications and workflows.
The version of the OpenAPI document: 0.2.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
import unittest
import datetime
from frontier_api.models.v1beta1_get_organization_domain_response import V1beta1GetOrganizationDomainResponse # noqa: E501
class TestV1beta1GetOrganizationDomainResponse(unittest.TestCase):
"""V1beta1GetOrganizationDomainResponse unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional) -> V1beta1GetOrganizationDomainResponse:
"""Test V1beta1GetOrganizationDomainResponse
include_option 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 `V1beta1GetOrganizationDomainResponse`
"""
model = V1beta1GetOrganizationDomainResponse() # noqa: E501
if include_optional:
return V1beta1GetOrganizationDomainResponse(
domain = frontier_api.models.v1beta1_domain.v1beta1Domain(
id = '943e4567-e89b-12d3-a456-426655440000',
name = 'raystack.org',
org_id = '123e4567-e89b-12d3-a456-426655440000',
token = '_frontier-domain-verification=LB6U2lSQgGS55HOy6kpWFqkngRC8TMEjyrakfmYC2D0s+nfy/WkFSg==',
state = 'pending',
created_at = '2023-06-07T05:39:56.961Z',
updated_at = '2023-06-07T05:39:56.961Z', )
)
else:
return V1beta1GetOrganizationDomainResponse(
)
"""
def testV1beta1GetOrganizationDomainResponse(self):
"""Test V1beta1GetOrganizationDomainResponse"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()