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

Method test_path_params_retrieve

tests/api_resources/test_files.py:104–108  ·  tests/api_resources/test_files.py::TestFiles.test_path_params_retrieve
(self, client: OpenAI)

Source from the content-addressed store, hash-verified

102
103 @parametrize
104 def test_path_params_retrieve(self, client: OpenAI) -> None:
105 with pytest.raises(ValueError, match=rclass="st">"Expected a non-empty value for `file_id` but received &class="cm">#x27;'"):
106 client.files.with_raw_response.retrieve(
107 class="st">"",
108 )
109
110 @parametrize
111 def test_method_list(self, client: OpenAI) -> None:

Callers

nothing calls this directly

Calls 1

retrieveMethod · 0.45

Tested by

no test coverage detected