Skip to content

Commit c11bb5a

Browse files
committed
fixed test
1 parent 18163e0 commit c11bb5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_multipart_upload_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def test_upload_parts_concurrent(self, mock_open, mock_executor_class, manager):
276276
# Mock as_completed
277277
with patch(
278278
"together.filemanager.as_completed",
279-
return_value=[mock_future1, mock_future2],
279+
side_effect=[iter([mock_future1]), iter([mock_future2])],
280280
):
281281
upload_info = {
282282
"parts": [

0 commit comments

Comments
 (0)