chg: Use another test to use it in the GHA

This commit is contained in:
Raphaël Vinot 2024-01-18 19:03:13 +01:00
parent 5dd57add70
commit f50520033b

View file

@ -15,5 +15,5 @@ class TestBasic(unittest.TestCase):
self.assertTrue(self.client.redis_up()) self.assertTrue(self.client.redis_up())
def test_get_vulnerability(self) -> None: def test_get_vulnerability(self) -> None:
vuln = self.client.get_vulnerability('CVE-2023-23059') vuln = self.client.get_vulnerability('PYSEC-2024-4')
self.assertEqual(vuln['cve']['id'], 'CVE-2023-23059') self.assertEqual(vuln['id'], 'PYSEC-2024-4')