thousandeyes-sdk-python/endpoint_tests/test/test_test_update.py
2024-05-02 16:26:53 +01:00

56 lines
1.4 KiB
Python

# coding: utf-8
"""
Endpoint Tests API
Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API.
The version of the OpenAPI document: 7.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
import unittest
from endpoint_tests.models.test_update import TestUpdate
class TestTestUpdate(unittest.TestCase):
"""TestUpdate unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional) -> TestUpdate:
"""Test TestUpdate
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 `TestUpdate`
"""
model = TestUpdate()
if include_optional:
return TestUpdate(
interval = 120,
test_name = 'Test name',
protocol = 'icmp',
is_enabled = True,
tcp_probe_mode = 'auto'
)
else:
return TestUpdate(
)
"""
def testTestUpdate(self):
"""Test TestUpdate"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()