blob: baa231304b33291dbfb7dc7f92cd98fddd15038e (
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
|