@@ -47,6 +47,9 @@ def __init__(self, no_interactive=False):
4747
4848
4949class  TestCli (TestCase ):
50+ 
51+     maxDiff  =  None 
52+ 
5053    def  setUp (self ):
5154        self .ctx  =  None 
5255        self .no_interactive  =  True 
@@ -1886,7 +1889,7 @@ def test_init_cli_image_pool_with_base_image_having_one_managed_template_with_pr
18861889    ):
18871890        init_options_from_manifest_mock .return_value  =  [
18881891            {
1889-                 "directory" : "python3.8 -image/cookiecutter-ml-apigw-pytorch" ,
1892+                 "directory" : "python3.9 -image/cookiecutter-ml-apigw-pytorch" ,
18901893                "displayName" : "PyTorch Machine Learning Inference API" ,
18911894                "dependencyManager" : "pip" ,
18921895                "appTemplate" : "ml-apigw-pytorch" ,
@@ -1898,7 +1901,7 @@ def test_init_cli_image_pool_with_base_image_having_one_managed_template_with_pr
18981901            no_interactive = True ,
18991902            pt_explicit = True ,
19001903            package_type = "Image" ,
1901-             base_image = "amazon/python3.8 -base" ,
1904+             base_image = "amazon/python3.9 -base" ,
19021905            dependency_manager = "pip" ,
19031906            app_template = "ml-apigw-pytorch" ,  # same value as appTemplate indicated in the manifest above 
19041907            name = self .name ,
@@ -1915,7 +1918,7 @@ def test_init_cli_image_pool_with_base_image_having_one_managed_template_with_pr
19151918        generate_project_patch .assert_called_once_with (
19161919            ANY ,  # location 
19171920            "Image" ,  # package_type 
1918-             "python3.8 " ,  # runtime 
1921+             "python3.9 " ,  # runtime 
19191922            "pip" ,  # dependency_manager 
19201923            self .output_dir ,
19211924            self .name ,
@@ -1936,7 +1939,7 @@ def test_init_cli_image_pool_with_base_image_having_one_managed_template_with_pr
19361939    ):
19371940        init_options_from_manifest_mock .return_value  =  [
19381941            {
1939-                 "directory" : "python3.8 -image/cookiecutter-ml-apigw-pytorch" ,
1942+                 "directory" : "python3.9 -image/cookiecutter-ml-apigw-pytorch" ,
19401943                "displayName" : "PyTorch Machine Learning Inference API" ,
19411944                "dependencyManager" : "pip" ,
19421945                "appTemplate" : "ml-apigw-pytorch" ,
@@ -1949,7 +1952,7 @@ def test_init_cli_image_pool_with_base_image_having_one_managed_template_with_pr
19491952                no_interactive = True ,
19501953                pt_explicit = True ,
19511954                package_type = "Image" ,
1952-                 base_image = "amazon/python3.8 -base" ,
1955+                 base_image = "amazon/python3.9 -base" ,
19531956                dependency_manager = "pip" ,
19541957                app_template = "NOT-ml-apigw-pytorch" ,  # different value than appTemplate shown in the manifest above 
19551958                name = self .name ,
@@ -2185,7 +2188,7 @@ def test_must_return_runtime_from_base_image_name(self):
21852188            "amazon/go1.x-base" ,
21862189            "amazon/java11-base" ,
21872190            "amazon/nodejs20.x-base" ,
2188-             "amazon/python3.8 -base" ,
2191+             "amazon/python3.9 -base" ,
21892192            "amazon/go-provided.al2-base" ,
21902193            "amazon/ruby3.2-base" ,
21912194        ]
@@ -2195,7 +2198,7 @@ def test_must_return_runtime_from_base_image_name(self):
21952198            "go1.x" ,
21962199            "java11" ,
21972200            "nodejs20.x" ,
2198-             "python3.8 " ,
2201+             "python3.9 " ,
21992202            "go (provided.al2)" ,
22002203            "ruby3.2" ,
22012204        ]
@@ -2266,10 +2269,10 @@ def test_must_process_manifest(self, _get_manifest_mock):
22662269                        }
22672270                    ]
22682271                },
2269-                 "python3.8 " : {
2272+                 "python3.9 " : {
22702273                    "Image" : [
22712274                        {
2272-                             "directory" : "python3.8 -image/cookiecutter-aws-sam-hello-python-lambda-image" ,
2275+                             "directory" : "python3.9 -image/cookiecutter-aws-sam-hello-python-lambda-image" ,
22732276                            "displayName" : "Hello World Lambda Image Example" ,
22742277                            "dependencyManager" : "pip" ,
22752278                            "appTemplate" : "hello-world-lambda-image" ,
0 commit comments