summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/ntp_timesyncd.py
blob: eca750bc317209dfa73e1295f1ba77c753e81d6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This file is part of cloud-init. See LICENSE file for license information.

"""cloud-init Integration Test Verify Script."""
from tests.cloud_tests.testcases import base


class TestNtpTimesyncd(base.CloudTestCase):
    """Test ntp module with systemd-timesyncd client"""

    def test_timesyncd_entries(self):
        """Test timesyncd config entries"""
        out = self.get_data_file('timesyncd_conf')
        self.assertIn('.pool.ntp.org', out)

# vi: ts=4 expandtab