aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorAdam Janovsky2023-04-21 20:14:12 +0200
committerAdam Janovsky2023-04-21 20:14:12 +0200
commitd4825d1650776735ddab3cedcc6f0c34d5aedb95 (patch)
treee52e69786ad59323de5dd7fa98d6e46e086e6f8b /tests
parent98163ce1946e8e4b61e10037eb2e774c129bc282 (diff)
downloadsec-certs-d4825d1650776735ddab3cedcc6f0c34d5aedb95.tar.gz
sec-certs-d4825d1650776735ddab3cedcc6f0c34d5aedb95.tar.zst
sec-certs-d4825d1650776735ddab3cedcc6f0c34d5aedb95.zip
fix cwe parsing in cvedataset
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cve_matching.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/test_cve_matching.py b/tests/test_cve_matching.py
index ac0f1853..c7e7da28 100644
--- a/tests/test_cve_matching.py
+++ b/tests/test_cve_matching.py
@@ -40,13 +40,13 @@ roca_expected_matches = [
]
titan_expected_matches = [
- ("2793414918738c7f", {"CVE-2017-15361"}),
- ("dbe20d7c305b24eb", {"CVE-2017-15361"}),
- ("559a5c3c4c23a9d3", {"CVE-2017-15361"}),
- ("861434b03ddcac64", {"CVE-2017-15361"}),
- ("8cfd0c9f4bcd21b8", {"CVE-2017-15361"}),
- ("b24a14935edd51ad", {"CVE-2017-15361"}),
- ("36ed04f4b45e3ab9", {"CVE-2017-15361"}),
+ ("2793414918738c7f", {"CVE-2021-3011"}),
+ ("dbe20d7c305b24eb", {"CVE-2021-3011"}),
+ ("559a5c3c4c23a9d3", {"CVE-2021-3011"}),
+ ("861434b03ddcac64", {"CVE-2021-3011"}),
+ ("8cfd0c9f4bcd21b8", {"CVE-2021-3011"}),
+ ("b24a14935edd51ad", {"CVE-2021-3011"}),
+ ("36ed04f4b45e3ab9", {"CVE-2021-3011"}),
]