git-vuln-finder/tests/test_finder.py

11 lines
245 B
Python
Raw Permalink Normal View History

2020-01-06 15:29:45 +00:00
from git_vuln_finder import find
2020-01-06 21:56:18 +00:00
def test_find_vuln(clone_curl):
all_potential_vulnerabilities, all_cve_found, found = find("./test_repos/curl/")
2020-01-06 15:29:45 +00:00
2020-01-06 17:24:30 +00:00
#assert len(list(all_cve_found)) == 64
assert "CVE-2018-1000122" in all_cve_found