From 376b9889b73ce22bd6fdeee6db73eb8db63c312a Mon Sep 17 00:00:00 2001 From: Mark Jordan Date: Thu, 16 Jan 2025 18:40:16 -0800 Subject: [PATCH] Adjustments to the make_local_tests.py script. --- scripts/make_local_tests.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/make_local_tests.py b/scripts/make_local_tests.py index 4e01fcd..3adcbd6 100644 --- a/scripts/make_local_tests.py +++ b/scripts/make_local_tests.py @@ -51,12 +51,9 @@ for filepath in glob.iglob(f"{local_tests_dir}/**/*.yml", recursive=True): f = open(filepath) config = f.read() - if args.host != "https://islandora.traefik.me": - config = config.replace("https://islandora.dev", args.host) - if args.username != "admin": - config = config.replace("admin", args.username) - if args.password != "password": - config = config.replace("password", args.password) + config = config.replace("https://islandora.dev", args.host) + config = config.replace("admin", args.username) + config = config.replace("password", args.password) config = config.replace("tests/assets/", "tests_local/assets/") f = open(filepath, "w") f.write(config)