style: run the formatter over the issue 14 changes

ruff format only; no semantic change.
This commit is contained in:
2026-08-20 00:44:21 -04:00
parent d9ceaecf20
commit 5a025b6e5d
5 changed files with 38 additions and 20 deletions
+1 -3
View File
@@ -177,9 +177,7 @@ class TestResilienceKeys:
"快速失败 → 长时间挂起"这个最危险的方向,不能强加给存量下游。
"""
assert GatewaySettings.from_env("LLM", env=_env()).circuit_open == "fail_fast"
waiting = GatewaySettings.from_env(
"LLM", env=_env(**{"LLM__CIRCUIT_OPEN": "wait"})
)
waiting = GatewaySettings.from_env("LLM", env=_env(**{"LLM__CIRCUIT_OPEN": "wait"}))
assert waiting.circuit_open == "wait"
with pytest.raises(ValueError, match="CIRCUIT_OPEN"):
GatewaySettings.from_env("LLM", env=_env(**{"LLM__CIRCUIT_OPEN": "block"}))