Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Aug 30, 2024
1 parent 8114bf3 commit 7b512b3
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions tests/unit/synapseclient/core/unit_test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,17 +524,14 @@ async def test_multithread_false_s3_file_handle_small_file(self) -> None:
await self._multithread_not_applicable(file_handle)

async def test_multithread_false_s3_file_handle(self) -> None:
with (
patch.object(os, "makedirs"),
patch(
GET_FILE_HANDLE_FOR_DOWNLOAD,
new_callable=AsyncMock,
) as mock_getFileHandleDownload,
patch(
DOWNLOAD_FROM_URL,
new_callable=AsyncMock,
) as mock_download_from_URL,
patch.object(self.syn, "cache"),
with patch.object(os, "makedirs"), patch(
GET_FILE_HANDLE_FOR_DOWNLOAD,
new_callable=AsyncMock,
) as mock_getFileHandleDownload, patch(
DOWNLOAD_FROM_URL,
new_callable=AsyncMock,
) as mock_download_from_URL, patch.object(
self.syn, "cache"
):
mock_getFileHandleDownload.return_value = {
"fileHandle": {
Expand Down

0 comments on commit 7b512b3

Please sign in to comment.