Skip to content

Commit

Permalink
Make final changes to archlinux testing aboutcode-org#597
Browse files Browse the repository at this point in the history
Reference: aboutcode-org#597
Reference: aboutcode-org#935

Signed-off-by: John M. Horan <[email protected]>
  • Loading branch information
johnmhoran authored and TG1999 committed Oct 19, 2022
1 parent 9565c0e commit 317951c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 307,606 deletions.
2 changes: 1 addition & 1 deletion vulnerabilities/tests/test_archlinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_parse_advisory_single():
util_tests.check_results_against_json(result, expected_file)


@patch("vulnerabilities.utils.fetch_response")
@patch("vulnerabilities.importers.archlinux.ArchlinuxImporter.fetch")
def test_archlinux_importer(mock_response):
with open(os.path.join(TEST_DATA, "archlinux-multi.json")) as f:
mock_response.return_value = json.load(f)
Expand Down
Loading

0 comments on commit 317951c

Please sign in to comment.