Update hosts module test

Update test case to account for formatting changes in b82001fcd4
This commit is contained in:
Matthew Muscat 2015-01-18 00:33:00 +11:00
parent b82001fcd4
commit f44d67471d

View File

@ -210,8 +210,8 @@ class HostsModuleTest(integration.ModuleCase):
lines = salt.utils.fopen(HFN, 'r').read().splitlines()
self.assertEqual(lines, [
'192.168.1.3\t\thost3.fqdn.com',
'192.168.1.1\t\thost1.fqdn.com\t\thost1\t\thost1-reorder',
'192.168.1.2\t\thost2.fqdn.com\t\thost2\t\toldhost2\t\thost2-reorder',
'192.168.1.1\t\thost1.fqdn.com host1 host1-reorder',
'192.168.1.2\t\thost2.fqdn.com host2 oldhost2 host2-reorder',
])