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

Method test_method_read

tests/api_resources/test_file.py:22–26  ·  view source on GitHub ↗
(self, client: Opencode)

Source from the content-addressed store, hash-verified

20 @pytest.mark.skip(reason="Prism tests are disabled")
21 @parametrize
22 def test_method_read(self, client: Opencode) -> None:
23 file = client.file.read(
24 path="path",
25 )
26 assert_matches_type(FileReadResponse, file, path=["response"])
27
28 @pytest.mark.skip(reason="Prism tests are disabled")
29 @parametrize

Callers

nothing calls this directly

Calls 2

assert_matches_typeFunction · 0.90
readMethod · 0.45

Tested by

no test coverage detected