precommit

This commit is contained in:
Ryan Addessi (raddessi) 2023-06-19 18:25:25 -06:00 committed by Pedro Algarvio
parent e0a91fc67c
commit 7d07076040
2 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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):