File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
tests/integration/synapseclient/models/synchronous Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1051,8 +1051,7 @@ async def test_upsert_operations_with_various_data_sources(
10511051 }
10521052 )
10531053
1054- # Reset the spy to count just this operation
1055- spy_send_job .reset_mock ()
1054+ spy_table_update = mocker .spy (table_module , "_push_row_updates_to_synapse" )
10561055
10571056 table .upsert_rows (
10581057 values = dry_run_data ,
@@ -1068,7 +1067,7 @@ async def test_upsert_operations_with_various_data_sources(
10681067 # The values from the previous update should still be in place
10691068 assert 99 not in results ["column_key_2" ].values
10701069 # The spy should not have been called
1071- assert spy_send_job .call_count == 0
1070+ assert spy_table_update .call_count == 0
10721071
10731072 async def test_upsert_with_multi_value_key (self , project_model : Project ) -> None :
10741073 """Test upserting rows using multiple columns as the primary key."""
You can’t perform that action at this time.
0 commit comments