mirror of
https://github.com/cve-search/PyVulnerabilityLookup.git
synced 2024-11-25 16:27:23 +00:00
chg: Use another test to use it in the GHA
This commit is contained in:
parent
5dd57add70
commit
f50520033b
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue