mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
remove platform from salt.utils call for 2017.7
This commit is contained in:
parent
85e853a63d
commit
b4b59b89cd
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class SSHGrainsTest(SSHCase):
|
|||
'''
|
||||
ret = self.run_function('grains.items')
|
||||
grain = 'Linux'
|
||||
if salt.utils.platform.is_darwin():
|
||||
if salt.utils.is_darwin():
|
||||
grain = 'Darwin'
|
||||
self.assertEqual(ret['kernel'], grain)
|
||||
self.assertTrue(isinstance(ret, dict))
|
||||
|
|
Loading…
Add table
Reference in a new issue