Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 420e052

Browse files
1 parent 3fcd879 commit 420e052

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,3 @@ system_tests/local_test_setup
6262
# Make sure a generated file isn't accidentally committed.
6363
pylintrc
6464
pylintrc.test
65-
66-
# Docker files
67-
get-docker.sh

tests/resumable_media/system/requests/test_download.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,9 @@ def test_download_to_stream(self, add_files, authorized_transport):
324324
check_tombstoned(download, authorized_transport)
325325

326326
@pytest.mark.parametrize("checksum", ["auto", "md5", "crc32c", None])
327-
def test_single_shot_download_to_stream(self, add_files, authorized_transport, checksum):
327+
def test_single_shot_download_to_stream(
328+
self, add_files, authorized_transport, checksum
329+
):
328330
for info in ALL_FILES:
329331
actual_contents = self._get_contents(info)
330332
blob_name = get_blob_name(info)

tests/resumable_media/unit/requests/test_download.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,9 @@ def _mock_response(status_code=http.client.OK, chunks=None, headers=None):
13701370
response.__enter__.return_value = response
13711371
response.__exit__.return_value = None
13721372
response.iter_content.return_value = iter(chunks)
1373-
response.raw.read = mock.Mock(side_effect=lambda *args, **kwargs: b"".join(chunks))
1373+
response.raw.read = mock.Mock(
1374+
side_effect=lambda *args, **kwargs: b"".join(chunks)
1375+
)
13741376
return response
13751377
else:
13761378
return mock.Mock(

0 commit comments

Comments
 (0)