(sync: bool, client: OpenAI, async_client: AsyncOpenAI)
| 424 | |
| 425 | @pytest.mark.parametrize("sync", [True, False], ids=["sync", "async"]) |
| 426 | def test_parse_method_in_sync(sync: bool, client: OpenAI, async_client: AsyncOpenAI) -> None: |
| 427 | checking_client: OpenAI | AsyncOpenAI = client if sync else async_client |
| 428 | |
| 429 | assert_signatures_in_sync( |
| 430 | checking_client.responses.create, |
| 431 | checking_client.responses.parse, |
| 432 | exclude_params={"stream", "tools"}, |
| 433 | ) |
| 434 | |
| 435 | |
| 436 | class TestAsyncResponses: |
nothing calls this directly
no test coverage detected