From f50520033b59cc7c5b345a409ad71940cd476977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 18 Jan 2024 19:03:13 +0100 Subject: [PATCH] chg: Use another test to use it in the GHA --- tests/test_web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_web.py b/tests/test_web.py index 6062672..e95c39b 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -15,5 +15,5 @@ class TestBasic(unittest.TestCase): self.assertTrue(self.client.redis_up()) def test_get_vulnerability(self) -> None: - vuln = self.client.get_vulnerability('CVE-2023-23059') - self.assertEqual(vuln['cve']['id'], 'CVE-2023-23059') + vuln = self.client.get_vulnerability('PYSEC-2024-4') + self.assertEqual(vuln['id'], 'PYSEC-2024-4')