added new vulns and continuesToUpdate to python alpha version cve tests (#26785)

> For #26748

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
This commit is contained in:
Jahziel Villasana-Espinoza 2025-03-03 16:50:25 -05:00 committed by GitHub
parent 96fc994558
commit e552cd3c8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -503,7 +503,12 @@ func TestTranslateCPEToCVE(t *testing.T) {
ID: "CVE-2024-9287",
resolvedInVersion: "",
},
{
ID: "CVE-2025-0938",
resolvedInVersion: "3.14.0a5",
},
},
continuesToUpdate: true,
},
"cpe:2.3:a:python:python:3.14.0:alpha2:*:*:*:macos:*:*": {
includedCVEs: []cve{
@ -511,10 +516,22 @@ func TestTranslateCPEToCVE(t *testing.T) {
ID: "CVE-2024-12254",
resolvedInVersion: "3.14.0a3",
},
{
ID: "CVE-2025-0938",
resolvedInVersion: "3.14.0a5",
},
},
continuesToUpdate: true,
},
"cpe:2.3:a:python:python:3.14.0:alpha3:*:*:*:macos:*:*": {
excludedCVEs: []string{"CVE-2024-12254"},
includedCVEs: []cve{
{
ID: "CVE-2025-0938",
resolvedInVersion: "3.14.0a5",
},
},
continuesToUpdate: true,
},
}