MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / test_ignores_invalid_input

Function test_ignores_invalid_input

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

transformFunction · 0.70

Tested by

no test coverage detected