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

Function test_async_tuple_input

tests/test_files.py:40–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

async_to_httpx_filesFunction · 0.90

Tested by

no test coverage detected