Skip to content

Commit

Permalink
Restoring tests to skipped state
Browse files Browse the repository at this point in the history
  • Loading branch information
pereyra-m committed Nov 10, 2021
1 parent 08dc7f7 commit 8d07c54
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8d07c54

Please sign in to comment.