From 92182211c5489d7ee18f965ba88711913df79c5f Mon Sep 17 00:00:00 2001 From: Mark Jordan Date: Thu, 16 Jan 2025 21:36:06 -0800 Subject: [PATCH] Couple more adjustments to the make_local_tests.py script. --- scripts/make_local_tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/make_local_tests.py b/scripts/make_local_tests.py index 3adcbd6..9a598e7 100644 --- a/scripts/make_local_tests.py +++ b/scripts/make_local_tests.py @@ -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)