@@ -496,6 +496,7 @@ def test_create_deployment_success(self, mock_make_api_call):
496496 version = "1.0.0" ,
497497 description = "Test job" ,
498498 computeType = "CPU_M" ,
499+ codeType = "script" ,
499500 )
500501
501502 mock_make_api_call .return_value = {
@@ -519,6 +520,7 @@ def test_create_deployment_conflict(self, mock_make_api_call):
519520 version = "1.0.0" ,
520521 description = "Test job" ,
521522 computeType = "CPU_M" ,
523+ codeType = "script" ,
522524 )
523525
524526 # Mock HTTP error with 409 Conflict
@@ -543,6 +545,7 @@ def test_create_deployment_function_invoke_options(self, mock_make_api_call):
543545 description = "Test job" ,
544546 computeType = "CPU_M" ,
545547 functionInvokeOptions = ["option1" , "option2" ],
548+ codeType = "function" ,
546549 )
547550
548551 mock_make_api_call .return_value = {
@@ -663,6 +666,7 @@ def test_get_deployments(self, mock_make_api_call):
663666 version = "1.0.0" ,
664667 description = "Test job" ,
665668 computeType = "CPU_M" ,
669+ codeType = "script" ,
666670 )
667671
668672 mock_make_api_call .return_value = {"deploymentStatus" : "Deployed" }
@@ -690,6 +694,7 @@ def test_wait_for_deployment_success(
690694 version = "1.0.0" ,
691695 description = "Test job" ,
692696 computeType = "CPU_M" ,
697+ codeType = "script" ,
693698 )
694699 callback = MagicMock ()
695700
@@ -720,6 +725,7 @@ def test_wait_for_deployment_timeout(
720725 version = "1.0.0" ,
721726 description = "Test job" ,
722727 computeType = "CPU_M" ,
728+ codeType = "script" ,
723729 )
724730
725731 # Mock time to simulate timeout
@@ -800,6 +806,7 @@ def test_create_data_transform(self, mock_make_api_call, mock_get_config):
800806 version = "1.0.0" ,
801807 description = "Test job" ,
802808 computeType = "CPU_M" ,
809+ codeType = "script" ,
803810 )
804811
805812 data_transform_config = DataTransformConfig (
@@ -878,6 +885,7 @@ def test_deploy_full(
878885 version = "1.0.0" ,
879886 description = "Test job" ,
880887 computeType = "CPU_M" ,
888+ codeType = "script" ,
881889 )
882890 callback = MagicMock ()
883891
@@ -918,6 +926,7 @@ def test_run_data_transform(self, mock_make_api_call):
918926 version = "1.0.0" ,
919927 description = "Test job" ,
920928 computeType = "CPU_M" ,
929+ codeType = "script" ,
921930 )
922931
923932 mock_make_api_call .return_value = {"status" : "Running" }
@@ -962,6 +971,7 @@ def test_deploy_full_happy_path(
962971 version = "1.0.0" ,
963972 description = "Test job" ,
964973 computeType = "CPU_M" ,
974+ codeType = "script" ,
965975 )
966976 callback = MagicMock ()
967977
0 commit comments