git-vuln-finder/tests/test_finder.py

10 lines
235 B
Python
Raw Normal View History

2020-01-06 15:29:45 +00:00
from git_vuln_finder import find
def test_find_vuln():
2020-01-06 16:00:36 +00:00
all_potential_vulnerabilities, all_cve_found, found = find("/home/runner/work/git-vuln-finder/git-vuln-finder/test_repos/curl/")
2020-01-06 15:29:45 +00:00
assert len(list(all_cve_found)) == 63