# coding: utf-8

"""
    Artifact Keeper API

    Enterprise artifact registry supporting 45+ package formats.

    The version of the OpenAPI document: 1.0.0-rc.3
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from artifact_keeper_client.models.cve_trends import CveTrends

class TestCveTrends(unittest.TestCase):
    """CveTrends unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> CveTrends:
        """Test CveTrends
            include_optional 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 `CveTrends`
        """
        model = CveTrends()
        if include_optional:
            return CveTrends(
                acknowledged_cves = 56,
                avg_days_to_fix = 1.337,
                critical_count = 56,
                fixed_cves = 56,
                high_count = 56,
                low_count = 56,
                medium_count = 56,
                open_cves = 56,
                timeline = [
                    artifact_keeper_client.models.cve_timeline_entry.CveTimelineEntry(
                        affected_component = '', 
                        cve_id = '', 
                        cve_published_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        days_exposed = 56, 
                        first_detected_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        severity = '', 
                        status = 'open', )
                    ],
                total_cves = 56
            )
        else:
            return CveTrends(
                acknowledged_cves = 56,
                critical_count = 56,
                fixed_cves = 56,
                high_count = 56,
                low_count = 56,
                medium_count = 56,
                open_cves = 56,
                timeline = [
                    artifact_keeper_client.models.cve_timeline_entry.CveTimelineEntry(
                        affected_component = '', 
                        cve_id = '', 
                        cve_published_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        days_exposed = 56, 
                        first_detected_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        severity = '', 
                        status = 'open', )
                    ],
                total_cves = 56,
        )
        """

    def testCveTrends(self):
        """Test CveTrends"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
