mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Recurse kwarg of state.directory state shall be a list of None
This commit is contained in:
parent
50e31ecf0b
commit
013e04ca6e
1 changed files with 2 additions and 2 deletions
|
@ -1263,11 +1263,11 @@ class FileTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
|
||||
if IS_WINDOWS:
|
||||
ret = self.run_state(
|
||||
'file.directory', name=tmp_dir, recurse={'mode'},
|
||||
'file.directory', name=tmp_dir, recurse=['mode'],
|
||||
follow_symlinks=True, win_owner='Administrators')
|
||||
else:
|
||||
ret = self.run_state(
|
||||
'file.directory', name=tmp_dir, recurse={'mode'},
|
||||
'file.directory', name=tmp_dir, recurse=['mode'],
|
||||
file_mode=644, dir_mode=755)
|
||||
|
||||
self.assertSaltTrueReturn(ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue