mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Sync modules for state tests
This commit is contained in:
parent
fb7bfc757c
commit
9dfd2ae392
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,8 @@ class StateModuleTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
reline(destpath, destpath, force=True)
|
||||
destpath = os.path.join(FILES, 'file', 'base', 'testappend', 'secondif')
|
||||
reline(destpath, destpath, force=True)
|
||||
sls = self.run_function('saltutil.sync_modules')
|
||||
assert isinstance(sls, list)
|
||||
|
||||
def test_show_highstate(self):
|
||||
'''
|
||||
|
@ -299,6 +301,7 @@ class StateModuleTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
|
||||
'''
|
||||
testfile = os.path.join(TMP, 'issue-1876')
|
||||
|
||||
sls = self.run_function('state.sls', mods='issue-1876')
|
||||
self.assertIn(
|
||||
'ID \'{0}\' in SLS \'issue-1876\' contains multiple state '
|
||||
|
|
Loading…
Add table
Reference in a new issue