mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
remove permission check as its probably an unreachable edge case
This commit is contained in:
parent
b19682a297
commit
8fbb5d3a26
1 changed files with 0 additions and 8 deletions
|
@ -36,14 +36,6 @@ def test__getgrall(etc_group):
|
|||
assert grall == expected_grall
|
||||
|
||||
|
||||
@pytest.mark.skip_if_root()
|
||||
def test__getgrall_permission_denied(etc_group):
|
||||
etc_group.chmod(0o000)
|
||||
|
||||
with pytest.raises(PermissionError):
|
||||
salt.utils.user._getgrall(root=str(etc_group.parent.parent))
|
||||
|
||||
|
||||
def test__getgrall_bad_format(etc_group):
|
||||
with etc_group.open("a") as _fp:
|
||||
_fp.write("\n# some comment here\n")
|
||||
|
|
Loading…
Add table
Reference in a new issue