root can still read the file and tests run as root

This commit is contained in:
nicholasmhughes 2023-09-01 17:13:03 -04:00 committed by Gareth J. Greenaway
parent 165621c166
commit b19682a297

View file

@ -36,6 +36,7 @@ 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)