mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Some more sysmod
testing improvements.
This commit is contained in:
parent
276858d619
commit
576a5a4b78
@ -20,6 +20,16 @@ class SysModuleTest(integration.ModuleCase):
|
||||
self.assertNotIn('sys.doc', funcs)
|
||||
self.assertIn('sysctl.get', funcs)
|
||||
|
||||
# Just sys
|
||||
funcs = self.run_function('sys.list_functions', ('sys.',))
|
||||
self.assertNotIn('sysctl.get', funcs)
|
||||
self.assertIn('sys.doc', funcs)
|
||||
|
||||
# Staring with sys
|
||||
funcs = self.run_function('sys.list_functions', ('sys',))
|
||||
self.assertNotIn('sysctl.get', funcs)
|
||||
self.assertIn('sys.doc', funcs)
|
||||
|
||||
def test_list_modules(self):
|
||||
'''
|
||||
sys.list_moduels
|
||||
|
Loading…
Reference in New Issue
Block a user