Skip to content

Commit

Permalink
Couple more adjustments to the make_local_tests.py script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjordan committed Jan 17, 2025
1 parent 376b988 commit 9218221
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/make_local_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@

shutil.copytree(tests_dir, local_tests_dir, dirs_exist_ok=True)

for filepath in glob.iglob(f"{local_tests_dir}/**/*.yml", recursive=True):
for filepath in list(glob.iglob(f"{local_tests_dir}/**/*.yml", recursive=True)) + list(
glob.iglob(f"{local_tests_dir}/**/*.py", recursive=True)
):
f = open(filepath)
config = f.read()
config = config.replace("https://islandora.dev", args.host)
Expand Down

0 comments on commit 9218221

Please sign in to comment.