mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
tests: stop writing legacy SITES in env
This commit is contained in:
parent
bfb040e5a6
commit
a022f94591
1 changed files with 0 additions and 6 deletions
|
|
@ -31,13 +31,7 @@ def _add_sites_var(env_path: Path):
|
|||
"test-erpnext-site.localhost",
|
||||
"test-pg-site.localhost",
|
||||
)
|
||||
sites_list = ",".join(f"`{site}`" for site in sites)
|
||||
sites_rule = " || ".join(f"Host(`{site}`)" for site in sites)
|
||||
content = re.sub(
|
||||
rf"SITES=.*",
|
||||
f"SITES={sites_list}",
|
||||
content,
|
||||
)
|
||||
content = re.sub(rf"SITES_RULE=.*", f"SITES_RULE={sites_rule}", content)
|
||||
f.seek(0)
|
||||
f.truncate()
|
||||
|
|
|
|||
Loading…
Reference in a new issue