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)