mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Update hosts module test
Update test case to account for formatting changes in b82001fcd4
This commit is contained in:
parent
b82001fcd4
commit
f44d67471d
@ -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',
|
||||
])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user