chore(tester): drop HX_TEST_HOST alias
HOST is the only accepted test-service address from env, local.yaml, or catalog vars.
This commit is contained in:
@@ -308,17 +308,12 @@ def resolve_vars(root: Path, meta: dict[str, Any]) -> dict[str, str]:
|
||||
for key, value in os.environ.items():
|
||||
if key in merged or key in auth_keys or key.startswith("AUTHORIZE_") or key in {
|
||||
"HOST",
|
||||
"HX_TEST_HOST",
|
||||
"WEB_BASE",
|
||||
"API_BASE",
|
||||
"WS_URL",
|
||||
"STATUS_BASE",
|
||||
}:
|
||||
merged[key] = value
|
||||
if not merged.get("HOST") and merged.get("HX_TEST_HOST"):
|
||||
merged["HOST"] = merged["HX_TEST_HOST"]
|
||||
if os.environ.get("HX_TEST_HOST") and not os.environ.get("HOST"):
|
||||
merged["HOST"] = os.environ["HX_TEST_HOST"]
|
||||
for _ in range(10):
|
||||
changed = False
|
||||
for key, value in list(merged.items()):
|
||||
|
||||
Reference in New Issue
Block a user