We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c754ac commit 3d34e55Copy full SHA for 3d34e55
1 file changed
vulnerabilities/tests/pipelines/test_curl_importer_v2.py
@@ -47,13 +47,13 @@ def pipeline():
47
return CurlImporterPipeline()
48
49
50
-@patch("vulnerabilities.importers.curl_importer.fetch_response")
+@patch("vulnerabilities.pipelines.v2_importers.curl_importer.fetch_response")
51
def test_advisories_count(mock_fetch, pipeline):
52
mock_fetch.return_value.json.return_value = [SAMPLE_CURL_ADVISORY]
53
assert pipeline.advisories_count() == 1
54
55
56
57
def test_collect_advisories(mock_fetch, pipeline):
58
59
advisories = list(pipeline.collect_advisories())
0 commit comments