thousandeyes-sdk-python/thousandeyes-sdk-dashboards/test/test_default_timespan.py
Jack Browne 92b9a0126c
CP-2126 Refactor HTTP client into shared package (#5)
* CP-2126 Refactor HTTP client into shared package

* CP-2126 Regenerate Python SDK
2024-05-23 11:57:23 +01:00

57 lines
1.6 KiB
Python

# coding: utf-8
"""
Dashboards API
Manage ThousandEyes Dashboards.
The version of the OpenAPI document: 7.0.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
import unittest
from thousandeyes_sdk.dashboards.models.default_timespan import DefaultTimespan
class TestDefaultTimespan(unittest.TestCase):
"""DefaultTimespan unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional) -> DefaultTimespan:
"""Test DefaultTimespan
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 `DefaultTimespan`
"""
model = DefaultTimespan()
if include_optional:
return DefaultTimespan(
timespan_duration = 7200,
timespan_start = '2023-05-16 10:14:28',
timespan_end = '2023-05-16 11:14:28',
duration = 7200,
start = '2023-05-16T10:14:28Z',
end = '2023-05-16T11:14:28Z'
)
else:
return DefaultTimespan(
)
"""
def testDefaultTimespan(self):
"""Test DefaultTimespan"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()