Skip to content

Commit f0defed

Browse files
committed
update comment
1 parent 6eece31 commit f0defed

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎packages/gapic-generator/tests/system/test_resumable_upload_progress.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,10 @@ def test_standalone_finalize_unseekable_stream(intercepted_resumable_upload_rest
257257

258258

259259
def test_client_upload_media_passes_request_body(intercepted_resumable_upload_rest):
260-
"""End-to-end test invoking client.upload_media(request=...) and verifying request body is sent on start."""
260+
""" Verify that invoking `client.upload_media(request=UploadMediaRequest(...))`
261+
and calling `session.upload(stream=...)` forwards the serialized request body
262+
on the initial upload session start request so the server echoes back the
263+
expected resource name in `UploadMediaResponse.name`."""
261264
client, _ = intercepted_resumable_upload_rest
262265
payload = b"0123456789" * 100
263266
stream = io.BytesIO(payload)

0 commit comments

Comments
 (0)