Skip to content

Commit 45596ea

Browse files
committed
lint
1 parent 53a8b97 commit 45596ea

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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)