summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/bootcmd.py
blob: f5b86b03a501454f43f8cd4c206cd62e9252a193 (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 TestBootCmd(base.CloudTestCase):
    """Test bootcmd module."""

    def test_bootcmd_host(self):
        """Test boot cmd worked."""
        out = self.get_data_file('hosts')
        self.assertIn('192.168.1.130 us.archive.ubuntu.com', out)

# vi: ts=4 expandtab