Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Aug 30, 2024
1 parent b34a317 commit 8114bf3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/unit/synapseclient/core/unit_test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,11 +481,7 @@ async def _multithread_not_applicable(self, file_handle: Dict[str, str]) -> None
new_callable=AsyncMock,
) as mock_download_from_URL, patch.object(
self.syn, "cache"
mock_getFileHandleDownload.return_value = {
"fileHandle": file_handle,
"preSignedURL": "asdf.com",
}

):
# multi_threaded/max_threads will have effect
self.syn.multi_threaded = True
await download_by_file_handle(
Expand Down

0 comments on commit 8114bf3

Please sign in to comment.