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

Method test_raw_response_update

tests/api_resources/test_evals.py:195–203  ·  view source on GitHub ↗
(self, client: OpenAI)

Source from the content-addressed store, hash-verified

193
194 @parametrize
195 def test_raw_response_update(self, client: OpenAI) -> None:
196 response = client.evals.with_raw_response.update(
197 eval_id="eval_id",
198 )
199
200 assert response.is_closed is True
201 assert response.http_request.headers.get("X-Stainless-Lang") == "python"
202 eval = response.parse()
203 assert_matches_type(EvalUpdateResponse, eval, path=["response"])
204
205 @parametrize
206 def test_streaming_response_update(self, client: OpenAI) -> None:

Callers

nothing calls this directly

Calls 4

assert_matches_typeFunction · 0.90
updateMethod · 0.45
getMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected