summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/examples/run_commands_first_boot.py
blob: 3f3d8f841f2cb053aeb7a4127e607585715a84ba (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):
    """Example cloud-config test."""

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

# vi: ts=4 expandtab