MCPcopy Index your code
hub / github.com/e2b-dev/E2B / run

Function run

packages/python-sdk/tests/test_volume_client.py:51–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49
50def test_async_client_uses_config_request_timeout():
51 async def run():
52 client = get_async_api_client(VolumeConnectionConfig(token="vol-token"))
53 assert client.get_async_httpx_client().timeout == httpx.Timeout(60.0)
54
55 client = get_async_api_client(
56 VolumeConnectionConfig(token="vol-token", request_timeout=0)
57 )
58 assert client.get_async_httpx_client().timeout == httpx.Timeout(None)
59
60 asyncio.run(run())
61

Calls 2

Tested by

no test coverage detected