-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_v1beta1_list_checkouts_response.py
64 lines (51 loc) · 2.93 KB
/
test_v1beta1_list_checkouts_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
61
62
63
64
# 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_list_checkouts_response import V1beta1ListCheckoutsResponse # noqa: E501
class TestV1beta1ListCheckoutsResponse(unittest.TestCase):
"""V1beta1ListCheckoutsResponse unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional) -> V1beta1ListCheckoutsResponse:
"""Test V1beta1ListCheckoutsResponse
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 `V1beta1ListCheckoutsResponse`
"""
model = V1beta1ListCheckoutsResponse() # noqa: E501
if include_optional:
return V1beta1ListCheckoutsResponse(
checkout_sessions = [
frontier_api.models.v1beta1_checkout_session.v1beta1CheckoutSession(
id = '',
checkout_url = '',
success_url = '',
cancel_url = '',
state = '',
metadata = frontier_api.models.metadata.metadata(),
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
expire_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
]
)
else:
return V1beta1ListCheckoutsResponse(
)
"""
def testV1beta1ListCheckoutsResponse(self):
"""Test V1beta1ListCheckoutsResponse"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()