mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
precommit
This commit is contained in:
parent
e0a91fc67c
commit
7d07076040
2 changed files with 4 additions and 4 deletions
|
@ -1,2 +1,2 @@
|
|||
Fixed an issue in the ``file.directory`` state where the ``children_only`` keyword
|
||||
argument was not being respected.
|
||||
argument was not being respected.
|
||||
|
|
|
@ -136,9 +136,9 @@ def test_directory_children_only(file, tmp_path):
|
|||
children_only=True,
|
||||
)
|
||||
assert ret.result is True
|
||||
assert name.stat().st_mode is 0o0700
|
||||
assert strayfile.stat().st_mode is 0o0644
|
||||
assert straydir.stat().st_mode is 0o0755
|
||||
assert name.stat().st_mode == 0o0700
|
||||
assert strayfile.stat().st_mode == 0o0644
|
||||
assert straydir.stat().st_mode == 0o0755
|
||||
|
||||
|
||||
def test_directory_clean(file, tmp_path):
|
||||
|
|
Loading…
Add table
Reference in a new issue