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

Method test_raw_response_remix

tests/api_resources/test_videos.py:394–403  ·  view source on GitHub ↗
(self, client: OpenAI)

Source from the content-addressed store, hash-verified

392
393 @parametrize
394 def test_raw_response_remix(self, client: OpenAI) -> None:
395 response = client.videos.with_raw_response.remix(
396 video_id="video_123",
397 prompt="x",
398 )
399
400 assert response.is_closed is True
401 assert response.http_request.headers.get("X-Stainless-Lang") == "python"
402 video = response.parse()
403 assert_matches_type(Video, video, path=["response"])
404
405 @parametrize
406 def test_streaming_response_remix(self, client: OpenAI) -> None:

Callers

nothing calls this directly

Calls 4

assert_matches_typeFunction · 0.90
remixMethod · 0.45
getMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected