style(s41): ruff format preflight test files
This commit is contained in:
parent
123f71f547
commit
b513e64577
2 changed files with 5 additions and 7 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue