Commit 00ffcb0d authored by nimrod's avatar nimrod
Browse files

- Corrected test.

parent 75795c53
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -5,8 +5,9 @@ testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all')

def test_ntp(Service):
    assert Service('systemd-timesyncd').is_running or Service(
        'ntpd').is_running
        'ntpd').is_running or Service('openntpd').is_running
    try:
        Service('systemd-timesyncd').is_enabled or Service('ntpd').is_enabled
        Service('systemd-timesyncd').is_enabled or Service(
            'ntpd').is_enabled or Service('openntpd').is_enabled
    except NotImplementedError:
        pass