@@ -321,20 +321,20 @@ async def test_mutation_add_to_cell(self, target, temp_rows):
321321 """
322322 Test add to cell mutation
323323 """
324- from google .cloud .bigtable .data .mutations import AddToCell , DeleteAllFromFamily
324+ from google .cloud .bigtable .data .mutations import AddToCell
325325
326326 row_key = b"add_to_cell"
327327 family = TEST_AGGREGATE_FAMILY
328328 qualifier = b"test-qualifier"
329329 # add row to temp_rows, for future deletion
330330 await temp_rows .add_aggregate_row (row_key , family = family , qualifier = qualifier )
331331 # set and check cell value
332- await target .mutate_row (row_key , AddToCell (family , qualifier , 1 , timestamp = 0 ))
332+ await target .mutate_row (row_key , AddToCell (family , qualifier , 1 , timestamp_micros = 0 ))
333333 encoded_result = await self ._retrieve_cell_value (target , row_key )
334334 int_result = int .from_bytes (encoded_result , byteorder = "big" )
335335 assert int_result == 1
336336 # update again
337- await target .mutate_row (row_key , AddToCell (family , qualifier , 9 , timestamp = 0 ))
337+ await target .mutate_row (row_key , AddToCell (family , qualifier , 9 , timestamp_micros = 0 ))
338338 encoded_result = await self ._retrieve_cell_value (target , row_key )
339339 int_result = int .from_bytes (encoded_result , byteorder = "big" )
340340 assert int_result == 10
0 commit comments