()
| 13 | @pytest.mark.parametrize("sync", [True, False], ids=["sync", "async"]) |
| 14 | async def test_basic(sync: bool, client: OpenAI, async_client: AsyncOpenAI) -> None: |
| 15 | def body() -> Iterator[bytes]: |
| 16 | yield b"event: completion\n" |
| 17 | yield b'data: {"foo":true}\n' |
| 18 | yield b"\n" |
| 19 | |
| 20 | iterator = make_event_iterator(content=body(), sync=sync, client=client, async_client=async_client) |
| 21 |
no outgoing calls
no test coverage detected