Skip to content
Myr

Update test_sync.py

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tom Christie · committed by GitHub · parent 20bc1f3 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:tests/test_sync.py+1 added-1 removed
50 unmodified lines
51def test_stream_iterator(server):52 with httpcore.SyncConnectionPool() as http:53 response = http.request("GET", "http://127.0.0.1:8000/", stream=True)54 assert response.status_code == 20055 content = b""55 body = b""56 for chunk in response.stream():57 body += chunk58 assert body == b"Hello, world!"59
10 unmodified lines