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

Function test_async_tuple_input

tests/test_files.py:39–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38@pytest.mark.asyncio
39async def test_async_tuple_input() -> None:
40 result = await async_to_httpx_files([("file", readme_path)])
41 print(result)
42 assert result == IsList(IsTuple("file", IsTuple("README.md", IsBytes())))
43
44
45def test_string_not_allowed() -> None:

Callers

nothing calls this directly

Calls 1

async_to_httpx_filesFunction · 0.90

Tested by

no test coverage detected