MCPcopy
hub / github.com/openai/openai-python / test_prepare_url_realtime

Function test_prepare_url_realtime

tests/lib/test_azure.py:815–818  ·  view source on GitHub ↗
(client: AzureOpenAI, base_url: str, json_data: dict[str, str], expected: str)

Source from the content-addressed store, hash-verified

813 ],
814)
815def test_prepare_url_realtime(client: AzureOpenAI, base_url: str, json_data: dict[str, str], expected: str) -> None:
816 url, _ = client._configure_realtime(json_data["model"], {})
817 assert str(url) == expected
818 assert client.base_url == base_url
819
820
821@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

_configure_realtimeMethod · 0.45

Tested by

no test coverage detected