added basic test

This commit is contained in:
Cédric Bonhomme 2020-01-06 16:29:45 +01:00
parent 552937a7bb
commit ceb2c63458
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D

9
tests/test_finder.py Normal file
View file

@ -0,0 +1,9 @@
from git_vuln_finder import find
def test_find_vuln():
all_potential_vulnerabilities, all_cve_found, found = find("/home/cedric/git/curl")
assert len(list(all_cve_found)) == 63