From 8d07c5450e9eebc7842cfe23899d67d94ac8a37f Mon Sep 17 00:00:00 2001 From: pereyra-m Date: Tue, 9 Nov 2021 21:20:46 -0300 Subject: [PATCH] Restoring tests to skipped state --- .../test_scan_results/test_debian_inventory_debian_feed.py | 2 +- .../test_scan_results/test_macos_inventory.py | 2 +- .../test_scan_results/test_msu_inventory_msu_feed.py | 2 +- .../test_scan_results/test_redhat_duplicate_vulns.py | 2 +- .../test_scan_results/test_redhat_inventory_redhat_feed.py | 2 +- .../test_scan_results/test_scan_different_cves.py | 2 +- .../test_scan_results/test_scan_nvd_feed.py | 2 +- .../test_scan_results/test_scan_providers_and_nvd_feed.py | 2 +- .../test_scan_results/test_ubuntu_inventory_canonical_feed.py | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/integration/test_vulnerability_detector/test_scan_results/test_debian_inventory_debian_feed.py b/tests/integration/test_vulnerability_detector/test_scan_results/test_debian_inventory_debian_feed.py index 8b2099e9fb..ee9223b1d3 100644 --- a/tests/integration/test_vulnerability_detector/test_scan_results/test_debian_inventory_debian_feed.py +++ b/tests/integration/test_vulnerability_detector/test_scan_results/test_debian_inventory_debian_feed.py @@ -75,7 +75,7 @@ def mock_vulnerability_scan(request, mock_agent): vd.update_last_full_scan(1, mock_agent) -#@pytest.mark.skip(reason="It will be blocked by wazuh#9309, when it was solve we can enable again this test") +@pytest.mark.skip(reason="It will be blocked by wazuh#9309, when it was solve we can enable again this test") def test_debian_vulnerabilities_report(get_configuration, configure_environment, restart_modulesd, check_cve_db, mock_vulnerability_scan, mock_agent): """Check if inserted vulnerable packages are reported by vulnerability detector. diff --git a/tests/integration/test_vulnerability_detector/test_scan_results/test_macos_inventory.py b/tests/integration/test_vulnerability_detector/test_scan_results/test_macos_inventory.py index e89d09bf31..87b347217a 100644 --- a/tests/integration/test_vulnerability_detector/test_scan_results/test_macos_inventory.py +++ b/tests/integration/test_vulnerability_detector/test_scan_results/test_macos_inventory.py @@ -77,7 +77,7 @@ def mock_vulnerability_scan(request, mock_agent): # Forcing a full-scan vd.update_last_full_scan(1, mock_agent) -#@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") +@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") def test_macos_vulnerabilities_report(get_configuration, configure_environment, restart_modulesd, check_cve_db, mock_vulnerability_scan, mock_agent): """Check if inserted vulnerable packages are reported by vulnerability detector. diff --git a/tests/integration/test_vulnerability_detector/test_scan_results/test_msu_inventory_msu_feed.py b/tests/integration/test_vulnerability_detector/test_scan_results/test_msu_inventory_msu_feed.py index 02f9d253e4..dd96cc7cd9 100644 --- a/tests/integration/test_vulnerability_detector/test_scan_results/test_msu_inventory_msu_feed.py +++ b/tests/integration/test_vulnerability_detector/test_scan_results/test_msu_inventory_msu_feed.py @@ -123,7 +123,7 @@ def is_hotfix_installed(cve_patch, dependencies, hotfixes): return False, cve_patch -#@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") +@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") def test_vulnerabilities_report(get_configuration, configure_environment, restart_modulesd, check_cve_db, mock_agent, mock_vulnerability_scan): """ diff --git a/tests/integration/test_vulnerability_detector/test_scan_results/test_redhat_duplicate_vulns.py b/tests/integration/test_vulnerability_detector/test_scan_results/test_redhat_duplicate_vulns.py index 60b87b2980..513629a4c8 100644 --- a/tests/integration/test_vulnerability_detector/test_scan_results/test_redhat_duplicate_vulns.py +++ b/tests/integration/test_vulnerability_detector/test_scan_results/test_redhat_duplicate_vulns.py @@ -45,7 +45,7 @@ def get_configuration(request): return request.param -#@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") +@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") def test_redhat_duplicate_vulns(clean_vuln_tables, get_configuration, configure_environment, restart_modulesd): """ RedHat provider was duplicating vulnerabilities when it downloaded a feed to update the database. diff --git a/tests/integration/test_vulnerability_detector/test_scan_results/test_redhat_inventory_redhat_feed.py b/tests/integration/test_vulnerability_detector/test_scan_results/test_redhat_inventory_redhat_feed.py index 222bd9c477..cc84ad5f5f 100644 --- a/tests/integration/test_vulnerability_detector/test_scan_results/test_redhat_inventory_redhat_feed.py +++ b/tests/integration/test_vulnerability_detector/test_scan_results/test_redhat_inventory_redhat_feed.py @@ -75,7 +75,7 @@ def mock_vulnerability_scan(request, mock_agent): vd.update_last_full_scan(1, mock_agent) -#@pytest.mark.skip(reason="It will be blocked by wazuh#9309, when it was solve we can enable again this test") +@pytest.mark.skip(reason="It will be blocked by wazuh#9309, when it was solve we can enable again this test") def test_redhat_vulnerabilities_report(get_configuration, configure_environment, restart_modulesd, check_cve_db, mock_vulnerability_scan, mock_agent): """Check if inserted vulnerable packages are reported by vulnerability detector. diff --git a/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_different_cves.py b/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_different_cves.py index 0c855335ef..258185a50c 100644 --- a/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_different_cves.py +++ b/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_different_cves.py @@ -95,7 +95,7 @@ def mock_vulnerability_scan(request, mock_agent): vd.update_last_full_scan(1, mock_agent) -#@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") +@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") def test_vulnerabilities_report(get_configuration, configure_environment, restart_modulesd, check_cve_db, mock_vulnerability_scan, mock_agent): """This test checks what happens if a vulnerability is being reported by NVD diff --git a/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_nvd_feed.py b/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_nvd_feed.py index a67e74d978..df0e51512b 100644 --- a/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_nvd_feed.py +++ b/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_nvd_feed.py @@ -103,7 +103,7 @@ def mock_vulnerability_scan(request, mock_agent): vd.update_last_full_scan(1, mock_agent) -#@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") +@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") def test_vulnerabilities_report(get_configuration, configure_environment, restart_modulesd, check_cve_db, mock_vulnerability_scan, mock_agent): """Check if inserted vulnerable packages are reported by vulnerability detector. diff --git a/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_providers_and_nvd_feed.py b/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_providers_and_nvd_feed.py index e686e8d205..4fda9ea5bd 100644 --- a/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_providers_and_nvd_feed.py +++ b/tests/integration/test_vulnerability_detector/test_scan_results/test_scan_providers_and_nvd_feed.py @@ -89,7 +89,7 @@ def mock_vulnerability_scan(request, mock_agent): vd.update_last_full_scan(1, mock_agent) -#@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") +@pytest.mark.skip(reason="It will be blocked by #1602, when it was solve we can enable again this test") def test_vulnerabilities_report(get_configuration, configure_environment, restart_modulesd, check_cve_db, mock_vulnerability_scan, mock_agent): """Check if inserted vulnerable packages are reported by vulnerability detector diff --git a/tests/integration/test_vulnerability_detector/test_scan_results/test_ubuntu_inventory_canonical_feed.py b/tests/integration/test_vulnerability_detector/test_scan_results/test_ubuntu_inventory_canonical_feed.py index 827ea0b63e..5185734583 100644 --- a/tests/integration/test_vulnerability_detector/test_scan_results/test_ubuntu_inventory_canonical_feed.py +++ b/tests/integration/test_vulnerability_detector/test_scan_results/test_ubuntu_inventory_canonical_feed.py @@ -74,7 +74,7 @@ def mock_vulnerability_scan(request, mock_agent): vd.update_last_full_scan(1, mock_agent) -#@pytest.mark.skip(reason="It will be blocked by wazuh#9309, when it was solve we can enable again this test") +@pytest.mark.skip(reason="It will be blocked by wazuh#9309, when it was solve we can enable again this test") def test_ubuntu_vulnerabilities_report(get_configuration, configure_environment, restart_modulesd, check_cve_db, mock_vulnerability_scan, mock_agent): """Check if inserted vulnerable packages are reported by vulnerability detector.