Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
b31ngd3v committed Aug 17, 2023
1 parent 20df483 commit e57893e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/test_input_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ class TestInputEngine:
PARSED_TRIAGE_DATA = {
ProductInfo("haxx", "curl", "7.59.0"): {
"default": {"comments": "", "remarks": Remarks.NewFound, "severity": ""},
"paths": {},
"paths": {""},
},
ProductInfo("haxx", "libcurl", "7.59.0"): {
"default": {"comments": "", "remarks": Remarks.Unexplored, "severity": ""},
"paths": {},
"paths": {""},
},
ProductInfo("libjpeg-turbo", "libjpeg-turbo", "2.0.1"): {
"CVE-2018-19664": {
Expand All @@ -44,19 +44,19 @@ class TestInputEngine:
"remarks": Remarks.Unexplored,
"severity": "HIGH",
},
"paths": {},
"paths": {""},
},
ProductInfo("mit", "kerberos_5", "1.15.1"): {
"default": {"comments": "", "remarks": Remarks.Confirmed, "severity": ""},
"paths": {},
"paths": {""},
},
ProductInfo("ssh", "ssh2", "2.0"): {
"default": {"comments": "", "remarks": Remarks.Mitigated, "severity": ""},
"paths": {},
"paths": {""},
},
ProductInfo("sun", "sunos", "5.4"): {
"default": {"comments": "", "remarks": Remarks.Mitigated, "severity": ""},
"paths": {},
"paths": {""},
},
}
VEX_TRIAGE_DATA = {
Expand All @@ -66,15 +66,15 @@ class TestInputEngine:
"remarks": Remarks.Confirmed,
"severity": "CRITICAL",
},
"paths": {""},
"paths": {},
},
ProductInfo("gnu", "glibc", "2.33"): {
"CVE-2021-1234": {
"comments": "",
"remarks": Remarks.Unexplored,
"severity": "HIGH",
},
"paths": {""},
"paths": {},
},
}
# cyclonedx currently doesn't have vendors
Expand All @@ -85,15 +85,15 @@ class TestInputEngine:
"remarks": Remarks.Confirmed,
"severity": "CRITICAL",
},
"paths": {""},
"paths": {},
},
ProductInfo("UNKNOWN", "glibc", "2.33"): {
"CVE-2021-1234": {
"comments": "",
"remarks": Remarks.Unexplored,
"severity": "HIGH",
},
"paths": {""},
"paths": {},
},
}
MISSING_FIELD_REGEX = re.compile(
Expand Down

0 comments on commit e57893e

Please sign in to comment.