style(s41): ruff format preflight test files

This commit is contained in:
Kjell Tore Guttormsen 2026-07-15 11:25:26 +02:00
commit b513e64577
2 changed files with 5 additions and 7 deletions

View file

@ -72,9 +72,7 @@ def test_wrong_host_surface_refused(
assert "openai.azure.com" in capsys.readouterr().err
def test_bare_host_endpoint_accepted(
tmp_path: Path, monkeypatch: pytest.MonkeyPatch
) -> None:
def test_bare_host_endpoint_accepted(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:
# Research §3: official samples use the bare-host form (no /api/projects/) — must be accepted.
monkeypatch.setenv("PORTFOLIO_MODEL_MAP", str(_write_map(tmp_path, _VALID_MAP)))
monkeypatch.setenv("PORTFOLIO_FOUNDRY_PROJECT_ENDPOINT", "https://x.services.ai.azure.com")