blob: 6e96a75c51cb85fca6896d987cc31f08016b6bce (
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 TestHostname(base.CloudTestCase):
"""Test hostname module."""
def test_hostname(self):
"""Test hostname command shows correct output."""
out = self.get_data_file('hostname')
self.assertIn('myhostname', out)
# vi: ts=4 expandtab
|