Repository navigation
Expand file tree
/
Copy pathtest_async_request_reference.py
More file actions
56 lines (43 loc) · 2.25 KB
/
Copy pathtest_async_request_reference.py
File metadata and controls
56 lines (43 loc) · 2.25 KB
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
# coding: utf-8
"""
Phrase TMS API
Welcome to Phrase's TMS API documentation. Please visit our [help center](https://support.phrase.com/hc/en-us/sections/5709662083612) for more information about the APIs. If you have any questions, please contact [Support](https://support.phrase.com/hc/requests/new). Please, include the `User-Agent` header with the name of your application or project. It might be a good idea to include some sort of contact information as well, so that we can get in touch if necessary. Examples of excellent `User-Agent` headers: > User-Agent: Example mobile app (example@phrase.com) <br/> User-Agent: ACME Inc Java 1.8 Client (http://acmeinc.com/contact) # noqa: E501
The version of the OpenAPI document: Latest
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
"""
import unittest
import datetime
import phrasetms_client
from phrasetms_client.models.async_request_reference import AsyncRequestReference # noqa: E501
from phrasetms_client.rest import ApiException
class TestAsyncRequestReference(unittest.TestCase):
"""AsyncRequestReference unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional):
"""Test AsyncRequestReference
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 `AsyncRequestReference`
"""
model = phrasetms_client.models.async_request_reference.AsyncRequestReference() # noqa: E501
if include_optional :
return AsyncRequestReference(
id = '',
date_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
action = 'PRE_ANALYSE'
)
else :
return AsyncRequestReference(
)
"""
def testAsyncRequestReference(self):
"""Test AsyncRequestReference"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()