Skip to content

Commit

Permalink
Prevent tests creating symlinks on installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Jun 23, 2023
1 parent 97b106b commit 1b8b05e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/functional/test_rose_stem.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@ def setup_stem_repo(tmp_path_factory, monkeymodule, request):
dest = str(workingcopy / 'rose-stem')
shutil.copy2(src, dest)
suite_install_dir = get_workflow_run_dir(suitename)

monkeymodule.setattr(
'cylc.flow.pathutil.make_symlink_dir',
lambda *_, **__: {}
)

yield {
'basetemp': basetemp,
'workingcopy': workingcopy,
Expand Down

0 comments on commit 1b8b05e

Please sign in to comment.