From 25dc5ddd930d5ab08478c8f8b85e05aea7abcffd Mon Sep 17 00:00:00 2001 From: Werner Dijkerman Date: Tue, 16 Apr 2019 20:57:58 +0200 Subject: [PATCH] Fixed lint issue on tests --- molecule/default/tests/test_default.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/molecule/default/tests/test_default.py b/molecule/default/tests/test_default.py index 0ae01a92..f2ee6ead 100644 --- a/molecule/default/tests/test_default.py +++ b/molecule/default/tests/test_default.py @@ -35,8 +35,8 @@ def test_wazuh_packages_are_installed(host): def test_wazuh_services_are_running(host): """Test if the services are enabled and running. - When assert commands are commented, this means that the service command has a - wrong exit code: https://github.com/wazuh/wazuh-ansible/issues/107 + When assert commands are commented, this means that the service command has + a wrong exit code: https://github.com/wazuh/wazuh-ansible/issues/107 """ manager = host.service("wazuh-manager") api = host.service("wazuh-api") @@ -53,6 +53,7 @@ def test_wazuh_services_are_running(host): # assert api.is_running assert api.is_enabled + @pytest.mark.parametrize("wazuh_file, wazuh_owner, wazuh_group, wazuh_mode", [ ("/var/ossec/etc/sslmanager.cert", "root", "root", 0o640), ("/var/ossec/etc/sslmanager.key", "root", "root", 0o640),