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

Function test_ignores_invalid_input

tests/test_transform.py:159–161  ·  view source on GitHub ↗
(use_async: bool)

Source from the content-addressed store, hash-verified

157@parametrize
158@pytest.mark.asyncio
159async def test_ignores_invalid_input(use_async: bool) -> None:
160 assert await transform({"bar": "<foo>"}, Foo7, use_async) == {"bAr": "<foo>"}
161 assert await transform({"foo": "<foo>"}, Foo7, use_async) == {"foo": "<foo>"}
162
163
164class DatetimeDict(TypedDict, total=False):

Callers

nothing calls this directly

Calls 1

transformFunction · 0.70

Tested by

no test coverage detected