Skip to content

Commit

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

Signed-off-by: John M. Horan <johnmhoran@gmail.com>
  • Loading branch information
johnmhoran committed Oct 14, 2022
1 parent 136d758 commit c5650b3
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 307,607 deletions.
1 change: 0 additions & 1 deletion vulnerabilities/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def no_rmtree(monkeypatch):
"test_apache_kafka.py",
"test_apache_tomcat.py",
"test_api.py",
"test_archlinux.py",
"test_data_source.py",
"test_debian_oval.py",
"test_elixir_security.py",
Expand Down
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 c5650b3

Please sign in to comment.