# 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.dt_finding import DtFinding

class TestDtFinding(unittest.TestCase):
    """DtFinding unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> DtFinding:
        """Test DtFinding
            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 `DtFinding`
        """
        model = DtFinding()
        if include_optional:
            return DtFinding(
                analysis = artifact_keeper_client.models.dt_analysis.DtAnalysis(
                    details = '', 
                    is_suppressed = True, 
                    justification = '', 
                    response = '', 
                    state = '', ),
                attribution = artifact_keeper_client.models.dt_attribution.DtAttribution(
                    analyzer_identity = '', 
                    attributed_on = 56, ),
                component = artifact_keeper_client.models.dt_component.DtComponent(
                    group = '', 
                    name = '', 
                    purl = '', 
                    uuid = '', 
                    version = '', ),
                vulnerability = artifact_keeper_client.models.dt_vulnerability.DtVulnerability(
                    cvss_v3_base_score = 1.337, 
                    cwe = artifact_keeper_client.models.dt_cwe.DtCwe(
                        cwe_id = 56, 
                        name = '', ), 
                    description = '', 
                    severity = '', 
                    source = '', 
                    title = '', 
                    uuid = '', 
                    vuln_id = '', )
            )
        else:
            return DtFinding(
                component = artifact_keeper_client.models.dt_component.DtComponent(
                    group = '', 
                    name = '', 
                    purl = '', 
                    uuid = '', 
                    version = '', ),
                vulnerability = artifact_keeper_client.models.dt_vulnerability.DtVulnerability(
                    cvss_v3_base_score = 1.337, 
                    cwe = artifact_keeper_client.models.dt_cwe.DtCwe(
                        cwe_id = 56, 
                        name = '', ), 
                    description = '', 
                    severity = '', 
                    source = '', 
                    title = '', 
                    uuid = '', 
                    vuln_id = '', ),
        )
        """

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

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