MCPcopy
hub / github.com/openai/openai-python / test_method_retrieve

Method test_method_retrieve

tests/api_resources/test_files.py:73–77  ·  tests/api_resources/test_files.py::TestFiles.test_method_retrieve
(self, client: OpenAI)

Source from the content-addressed store, hash-verified

71
72 @parametrize
73 def test_method_retrieve(self, client: OpenAI) -> None:
74 file = client.files.retrieve(
75 class="st">"string",
76 )
77 assert_matches_type(FileObject, file, path=[class="st">"response"])
78
79 @parametrize
80 def test_raw_response_retrieve(self, client: OpenAI) -> None:

Callers

nothing calls this directly

Calls 2

assert_matches_typeFunction · 0.90
retrieveMethod · 0.45

Tested by

no test coverage detected