@@ -69,7 +69,6 @@ def test_in_process_invoker_create_invocation_input():
6969 assert invocation_input .durable_execution_arn == execution .durable_execution_arn
7070 assert invocation_input .checkpoint_token is not None
7171 assert isinstance (invocation_input .initial_execution_state , InitialExecutionState )
72- assert invocation_input .is_local_runner is False
7372 assert invocation_input .service_client is service_client
7473
7574
@@ -86,7 +85,6 @@ def test_in_process_invoker_invoke():
8685 durable_execution_arn = "test-arn" ,
8786 checkpoint_token = "test-token" , # noqa: S106
8887 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
89- is_local_runner = False ,
9088 )
9189
9290 result = invoker .invoke ("test-function" , input_data )
@@ -149,7 +147,6 @@ def test_lambda_invoker_create_invocation_input():
149147 assert invocation_input .durable_execution_arn == execution .durable_execution_arn
150148 assert invocation_input .checkpoint_token is not None
151149 assert isinstance (invocation_input .initial_execution_state , InitialExecutionState )
152- assert invocation_input .is_local_runner is False
153150
154151
155152def test_lambda_invoker_invoke_success ():
@@ -173,7 +170,6 @@ def test_lambda_invoker_invoke_success():
173170 durable_execution_arn = "test-arn" ,
174171 checkpoint_token = "test-token" , # noqa: S106
175172 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
176- is_local_runner = False ,
177173 )
178174
179175 result = invoker .invoke ("test-function" , input_data )
@@ -211,7 +207,6 @@ def test_lambda_invoker_invoke_failure():
211207 durable_execution_arn = "test-arn" ,
212208 checkpoint_token = "test-token" , # noqa: S106
213209 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
214- is_local_runner = False ,
215210 )
216211
217212 with pytest .raises (
@@ -286,7 +281,6 @@ def test_lambda_invoker_invoke_empty_function_name():
286281 durable_execution_arn = "test-arn" ,
287282 checkpoint_token = "test-token" ,
288283 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
289- is_local_runner = False ,
290284 )
291285
292286 with pytest .raises (
@@ -308,7 +302,6 @@ def test_lambda_invoker_invoke_whitespace_function_name():
308302 durable_execution_arn = "test-arn" ,
309303 checkpoint_token = "test-token" ,
310304 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
311- is_local_runner = False ,
312305 )
313306
314307 with pytest .raises (
@@ -337,7 +330,6 @@ def test_lambda_invoker_invoke_status_202():
337330 durable_execution_arn = "test-arn" ,
338331 checkpoint_token = "test-token" ,
339332 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
340- is_local_runner = False ,
341333 )
342334
343335 result = invoker .invoke ("test-function" , input_data )
@@ -367,7 +359,6 @@ def test_lambda_invoker_invoke_function_error():
367359 durable_execution_arn = "test-arn" ,
368360 checkpoint_token = "test-token" ,
369361 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
370- is_local_runner = False ,
371362 )
372363
373364 with pytest .raises (
@@ -446,7 +437,6 @@ class MockResourceNotFoundException(Exception):
446437 durable_execution_arn = "test-arn" ,
447438 checkpoint_token = "test-token" ,
448439 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
449- is_local_runner = False ,
450440 )
451441
452442 with pytest .raises (
@@ -481,7 +471,6 @@ class MockInvalidParameterValueException(Exception):
481471 durable_execution_arn = "test-arn" ,
482472 checkpoint_token = "test-token" ,
483473 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
484- is_local_runner = False ,
485474 )
486475
487476 with pytest .raises (InvalidParameterValueException , match = "Invalid parameter" ):
@@ -510,7 +499,6 @@ class MockServiceException(Exception):
510499 durable_execution_arn = "test-arn" ,
511500 checkpoint_token = "test-token" ,
512501 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
513- is_local_runner = False ,
514502 )
515503
516504 with pytest .raises (DurableFunctionsTestError , match = "Lambda invocation failed" ):
@@ -539,7 +527,6 @@ class MockEC2Exception(Exception):
539527 durable_execution_arn = "test-arn" ,
540528 checkpoint_token = "test-token" ,
541529 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
542- is_local_runner = False ,
543530 )
544531
545532 with pytest .raises (DurableFunctionsTestError , match = "Lambda infrastructure error" ):
@@ -568,7 +555,6 @@ class MockKMSException(Exception):
568555 durable_execution_arn = "test-arn" ,
569556 checkpoint_token = "test-token" ,
570557 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
571- is_local_runner = False ,
572558 )
573559
574560 with pytest .raises (DurableFunctionsTestError , match = "Lambda KMS error" ):
@@ -600,7 +586,6 @@ class MockDurableExecutionAlreadyStartedException(Exception):
600586 durable_execution_arn = "test-arn" ,
601587 checkpoint_token = "test-token" ,
602588 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
603- is_local_runner = False ,
604589 )
605590
606591 with pytest .raises (
@@ -624,7 +609,6 @@ def test_lambda_invoker_invoke_unexpected_exception():
624609 durable_execution_arn = "test-arn" ,
625610 checkpoint_token = "test-token" ,
626611 initial_execution_state = InitialExecutionState (operations = [], next_marker = "" ),
627- is_local_runner = False ,
628612 )
629613
630614 with pytest .raises (
0 commit comments