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

Method test_get_platform

tests/test_client.py:2533–2535  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2531 assert int(response.http_request.headers.get("x-stainless-retry-count")) == failures_before_success
2532
2533 async def test_get_platform(self) -> None:
2534 platform = await asyncify(get_platform)()
2535 assert isinstance(platform, (str, OtherPlatform))
2536
2537 async def test_proxy_environment_variables(self, monkeypatch: pytest.MonkeyPatch) -> None:
2538 # Test that the proxy environment variables are set correctly

Callers

nothing calls this directly

Calls 1

asyncifyFunction · 0.90

Tested by

no test coverage detected