mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 16:05:30 +00:00
59 lines
1.7 KiB
Python
59 lines
1.7 KiB
Python
# coding: utf-8
|
|
|
|
"""
|
|
Test Results API
|
|
|
|
Get test result metrics for Cloud and Enterprise Agent tests.
|
|
|
|
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.test_results.models.ssl_cert import SslCert
|
|
|
|
class TestSslCert(unittest.TestCase):
|
|
"""SslCert unit test stubs"""
|
|
|
|
def setUp(self):
|
|
pass
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def make_instance(self, include_optional) -> SslCert:
|
|
"""Test SslCert
|
|
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 `SslCert`
|
|
"""
|
|
model = SslCert()
|
|
if include_optional:
|
|
return SslCert(
|
|
days_until_expiry = 56,
|
|
is_fetch_date_in_valid_cert_date_range = True,
|
|
has_valid_signing_cert = False,
|
|
issuer_name = 'DigiCert SHA2 Extended Validation Server CA',
|
|
valid_before = '2020-05-12T12:00Z',
|
|
valid_after = '2018-03-27T00:00Z',
|
|
subject_alternative_names = ["www.thousandeyes.com","thousandeyes.com"],
|
|
subject_name = 'www.thousandeyes.com'
|
|
)
|
|
else:
|
|
return SslCert(
|
|
)
|
|
"""
|
|
|
|
def testSslCert(self):
|
|
"""Test SslCert"""
|
|
# inst_req_only = self.make_instance(include_optional=False)
|
|
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|