@@ -315,7 +315,7 @@ def test_step_options_to_dict():
315315
316316def test_wait_options_to_dict ():
317317 """Test WaitOptions.to_dict method."""
318- options = WaitOptions (seconds = 60 )
318+ options = WaitOptions (wait_seconds = 60 )
319319 result = options .to_dict ()
320320 assert result == {"WaitSeconds" : 60 }
321321
@@ -394,7 +394,7 @@ def test_operation_update_to_dict_complete():
394394 message = "Test error" , type = "TestError" , data = None , stack_trace = None
395395 )
396396 step_options = StepOptions (next_attempt_delay_seconds = 30 )
397- wait_options = WaitOptions (seconds = 60 )
397+ wait_options = WaitOptions (wait_seconds = 60 )
398398 callback_options = CallbackOptions (
399399 timeout_seconds = 300 , heartbeat_timeout_seconds = 60
400400 )
@@ -463,7 +463,7 @@ def test_operation_update_create_callback():
463463
464464def test_operation_update_create_wait_start ():
465465 """Test OperationUpdate.create_wait_start factory method."""
466- wait_options = WaitOptions (seconds = 30 )
466+ wait_options = WaitOptions (wait_seconds = 30 )
467467 update = OperationUpdate .create_wait_start (
468468 OperationIdentifier ("wait1" , "parent1" , "test_wait" ), wait_options
469469 )
@@ -581,7 +581,7 @@ def test_operation_update_with_parent_id():
581581def test_operation_update_wait_and_invoke_types ():
582582 """Test OperationUpdate with WAIT and INVOKE operation types."""
583583 # Test WAIT operation
584- wait_options = WaitOptions (seconds = 30 )
584+ wait_options = WaitOptions (wait_seconds = 30 )
585585 wait_update = OperationUpdate (
586586 operation_id = "wait_op" ,
587587 operation_type = OperationType .WAIT ,
@@ -1064,7 +1064,7 @@ def test_durable_service_client_protocol_stop():
10641064
10651065def test_operation_update_create_wait ():
10661066 """Test OperationUpdate factory method for WAIT operations."""
1067- wait_options = WaitOptions (seconds = 30 )
1067+ wait_options = WaitOptions (wait_seconds = 30 )
10681068 update = OperationUpdate (
10691069 operation_id = "wait1" ,
10701070 operation_type = OperationType .WAIT ,
@@ -1369,7 +1369,7 @@ def test_operation_update_complete_with_new_fields():
13691369 )
13701370 context_options = ContextOptions (replay_children = True )
13711371 step_options = StepOptions (next_attempt_delay_seconds = 30 )
1372- wait_options = WaitOptions (seconds = 60 )
1372+ wait_options = WaitOptions (wait_seconds = 60 )
13731373 callback_options = CallbackOptions (
13741374 timeout_seconds = 300 , heartbeat_timeout_seconds = 60
13751375 )
0 commit comments