mirror of
https://github.com/cve-search/git-vuln-finder.git
synced 2024-11-22 23:07:20 +00:00
added basic test
This commit is contained in:
parent
552937a7bb
commit
ceb2c63458
1 changed files with 9 additions and 0 deletions
9
tests/test_finder.py
Normal file
9
tests/test_finder.py
Normal 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
|
Loading…
Reference in a new issue