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

Function test_recursive_proxy

tests/test_utils/test_proxy.py:17–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16
17def test_recursive_proxy() -> None:
18 proxy = RecursiveLazyProxy()
19 assert repr(proxy) == "RecursiveLazyProxy"
20 assert str(proxy) == "RecursiveLazyProxy"
21 assert dir(proxy) == []
22 assert type(proxy).__name__ == "RecursiveLazyProxy"
23 assert type(operator.attrgetter("name.foo.bar.baz")(proxy)).__name__ == "RecursiveLazyProxy"
24
25
26def test_isinstance_does_not_error() -> None:

Callers

nothing calls this directly

Calls 1

RecursiveLazyProxyClass · 0.85

Tested by

no test coverage detected