Skip to content

Commit

Permalink
tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi committed Oct 23, 2023
1 parent 06f4336 commit 9d03246
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/unit/test_download_from_mass_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ def test_allowed_user():

def test_disallowed_user():
user_home = os.path.expanduser('~')
output_folder = "bgcval2/local_test/BGC_data/u-xxx/"
output_folder = "bgcval2/local_test/BGC_data/u-yyy/"
run_dir = os.path.join(user_home, output_folder)
if not os.path.exists(run_dir):
os.makedirs(run_dir)
st = os.stat(run_dir)
os.chmod(run_dir, False)
dfm(jobID="u-xxx",
dfm(jobID="u-yyy",
doMoo=False,
auto_download=False,
config_user="defaults"
Expand Down

0 comments on commit 9d03246

Please sign in to comment.