File tree Expand file tree Collapse file tree
integration/synapseclient/models/async
unit/synapseclient/models/async Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,7 +188,6 @@ async def test_import_csv_to_grid_session_async(
188188 self ,
189189 project_model ,
190190 record_set_fixture : RecordSet ,
191- schedule_for_cleanup : Callable [..., None ],
192191 ) -> None :
193192 """Test importing a CSV file into a grid session."""
194193
@@ -220,7 +219,7 @@ async def test_import_csv_to_grid_session_async(
220219 path = temp_csv .name , parent_id = project_model .id
221220 ).store_async (synapse_client = self .syn )
222221
223- schedule_for_cleanup (file .id )
222+ self . schedule_for_cleanup (file .id )
224223
225224 # WHEN: Importing the CSV into the grid session
226225 imported_grid = await created_grid .import_csv_async (
Original file line number Diff line number Diff line change @@ -862,15 +862,11 @@ async def test_import_csv_async(self) -> None:
862862 updated_count = 1 ,
863863 )
864864
865- # Set up mock preview class: constructor returns a mock whose
866- # send_job_and_wait_async returns the mock_preview_response
867865 mock_preview_instance = MagicMock ()
868866 mock_preview_instance .send_job_and_wait_async = AsyncMock (
869867 return_value = mock_preview_response
870868 )
871869
872- # Set up mock import class: constructor returns a mock whose
873- # send_job_and_wait_async returns the mock_import_response
874870 mock_import_instance = MagicMock ()
875871 mock_import_instance .send_job_and_wait_async = AsyncMock (
876872 return_value = mock_import_response
You can’t perform that action at this time.
0 commit comments