diff --git a/tests/test_finder.py b/tests/test_finder.py new file mode 100644 index 0000000..f990708 --- /dev/null +++ b/tests/test_finder.py @@ -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