MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / test_async_supports_anyio_path

Function test_async_supports_anyio_path

tests/test_files.py:32–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31@pytest.mark.asyncio
32async def test_async_supports_anyio_path() -> None:
33 result = await async_to_httpx_files({"file": anyio.Path(readme_path)})
34 print(result)
35 assert result == IsDict({"file": IsTuple("README.md", IsBytes())})
36
37
38@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

async_to_httpx_filesFunction · 0.90

Tested by

no test coverage detected