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

Function test_basic

tests/test_models.py:20–22  ·  view source on GitHub ↗
(value: object)

Source from the content-addressed store, hash-verified

18
19@pytest.mark.parametrize("value", ["hello", 1], ids=["correct type", "mismatched"])
20def test_basic(value: object) -> None:
21 m = BasicModel.construct(foo=value)
22 assert m.foo == value
23
24
25def test_directly_nested_model() -> None:

Callers

nothing calls this directly

Calls 1

constructMethod · 0.45

Tested by

no test coverage detected