()
| 30 | @pytest.mark.parametrize("sync", [True, False], ids=["sync", "async"]) |
| 31 | async def test_basic(sync: bool, client: Anthropic, async_client: AsyncAnthropic) -> None: |
| 32 | def body() -> Iterator[bytes]: |
| 33 | yield b"event: completion\n" |
| 34 | yield b'data: {"foo":true}\n' |
| 35 | yield b"\n" |
| 36 | |
| 37 | iterator = make_event_iterator(content=body(), sync=sync, client=client, async_client=async_client) |
| 38 |
no outgoing calls
no test coverage detected