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)