mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add grains.get test
This commit is contained in:
parent
04ad87f9fb
commit
562fbdaed2
@ -73,6 +73,16 @@ class TestModulesGrains(integration.ModuleCase):
|
||||
)
|
||||
)
|
||||
|
||||
def test_get(self):
|
||||
'''
|
||||
test grains.get
|
||||
'''
|
||||
self.assertEqual(
|
||||
self.run_function(
|
||||
'grains.get',
|
||||
['level1:level2']),
|
||||
'foo')
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user