blob: 9501b069387188f42f4ec4ee81d3ab0dd0def249 (
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
|