def test_get_scan_result(): cve = CveParse(rule_path, target_directory) cve.scan_cve(rule_cve_path) assert 'flask-migrate:==1.8.0' in cve.get_scan_result()
def test_get_scan_result(): cve = CveParse(rule_path, target_directory) cve.scan_cve(rule_cve_path) assert 'flask-migrate:==1.8.0' in cve.get_scan_result()
def test_get_scan_result(): cve = CveParse(rule_path, target_directory) cve.scan_cve(rule_cve_path) assert 'flask:0.10.1' in cve.get_scan_result()
def test_get_scan_result(): cve = CveParse(rule_path, target_directory) cve.scan_cve(rule_cve_path) assert 'flask:0.10.1' in cve.get_scan_result()