Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi committed Oct 23, 2023
1 parent 9d03246 commit 098ad28
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/unit/test_download_from_mass_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@


def test_allowed_user():
user_home = os.path.expanduser('~')
output_folder = "bgcval2/local_test/BGC_data/u-xxx/"
run_dir = os.path.join(user_home, output_folder)
if not os.path.exists(run_dir):
os.makedirs(run_dir)
dfm(jobID="u-xxx",
doMoo=False,
auto_download=False,
config_user="defaults"
)
user_home = os.path.expanduser('~')
output_folder = "bgcval2/local_test/BGC_data/u-xxx/"
run_dir = os.path.join(user_home, output_folder)
assert os.stat(run_dir).st_mode == 16893


Expand Down

0 comments on commit 098ad28

Please sign in to comment.