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

Function test_repr

tests/test_models.py:198–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196
197
198def test_repr() -> None:
199 model = BasicModel(foo="bar")
200 assert str(model) == "BasicModel(foo='bar')"
201 assert repr(model) == "BasicModel(foo='bar')"
202
203
204def test_repr_nested_model() -> None:

Callers

nothing calls this directly

Calls 1

BasicModelClass · 0.85

Tested by

no test coverage detected