Skip to content

Commit c5650b3

Browse files
committed
Make final changes to archlinux testing #597
Reference: #597 Reference: #935 Signed-off-by: John M. Horan <[email protected]>
1 parent 136d758 commit c5650b3

File tree

4 files changed

+35
-307607
lines changed

4 files changed

+35
-307607
lines changed

vulnerabilities/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ def no_rmtree(monkeypatch):
2929
"test_apache_kafka.py",
3030
"test_apache_tomcat.py",
3131
"test_api.py",
32-
"test_archlinux.py",
3332
"test_data_source.py",
3433
"test_debian_oval.py",
3534
"test_elixir_security.py",

vulnerabilities/tests/test_archlinux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_parse_advisory_single():
4343
util_tests.check_results_against_json(result, expected_file)
4444

4545

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

0 commit comments

Comments
 (0)