File tree Expand file tree Collapse file tree
packages/gapic-generator/tests/system Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,7 +257,10 @@ def test_standalone_finalize_unseekable_stream(intercepted_resumable_upload_rest
257257
258258
259259def 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 )
You can’t perform that action at this time.
0 commit comments