mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Add darwin value for ssh grain items tests on MacOSX
This commit is contained in:
parent
eba360870a
commit
85e853a63d
@ -21,5 +21,8 @@ class SSHGrainsTest(SSHCase):
|
||||
test grains.items with salt-ssh
|
||||
'''
|
||||
ret = self.run_function('grains.items')
|
||||
self.assertEqual(ret['kernel'], 'Linux')
|
||||
grain = 'Linux'
|
||||
if salt.utils.platform.is_darwin():
|
||||
grain = 'Darwin'
|
||||
self.assertEqual(ret['kernel'], grain)
|
||||
self.assertTrue(isinstance(ret, dict))
|
||||
|
Loading…
Reference in New Issue
Block a user