Skip to content

Commit

Permalink
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 3c58532 commit 376b988
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scripts/make_local_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 376b988

Please sign in to comment.