Fixed lint issue on tests

This commit is contained in:
Werner Dijkerman 2019-04-16 20:57:58 +02:00
parent ad256682b0
commit 25dc5ddd93

View File

@ -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),