MCPcopy Create free account
hub / github.com/openai/openai-agents-python / post

Method post

tests/extensions/sandbox/test_cloudflare.py:786–788  ·  view source on GitHub ↗
(self, url: str, **kwargs: Any)

Source from the content-addressed store, hash-verified

784async def test_cloudflare_exec_client_error_includes_provider_context() -> None:
785 class _FailingHttp(_FakeHttp):
786 def post(self, url: str, **kwargs: Any) -> Any:
787 self._record("POST", url, **kwargs)
788 raise aiohttp.ClientError("connection reset")
789
790 with pytest.raises(ExecTransportError) as exc_info:
791 await _make_session(fake_http=_FailingHttp())._exec_internal("echo", "hello", timeout=1.0)

Callers

nothing calls this directly

Calls 1

_recordMethod · 0.80

Tested by

no test coverage detected