Skip to content

Commit

Permalink
allow for 16877
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi committed Oct 23, 2023
1 parent 098ad28 commit 4300bbd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/unit/test_download_from_mass_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ def test_allowed_user():
auto_download=False,
config_user="defaults"
)
assert os.stat(run_dir).st_mode == 16893
try:
assert os.stat(run_dir).st_mode == 16893
# when stat mode is 16877 (equivalent to chmod 877)
except AssertionError:
assert os.stat(run_dir).st_mode == 16877


def test_disallowed_user():
Expand Down

0 comments on commit 4300bbd

Please sign in to comment.