@@ -47,6 +47,9 @@ def __init__(self, no_interactive=False):
47
47
48
48
49
49
class TestCli (TestCase ):
50
+
51
+ maxDiff = None
52
+
50
53
def setUp (self ):
51
54
self .ctx = None
52
55
self .no_interactive = True
@@ -1886,7 +1889,7 @@ def test_init_cli_image_pool_with_base_image_having_one_managed_template_with_pr
1886
1889
):
1887
1890
init_options_from_manifest_mock .return_value = [
1888
1891
{
1889
- "directory" : "python3.8 -image/cookiecutter-ml-apigw-pytorch" ,
1892
+ "directory" : "python3.9 -image/cookiecutter-ml-apigw-pytorch" ,
1890
1893
"displayName" : "PyTorch Machine Learning Inference API" ,
1891
1894
"dependencyManager" : "pip" ,
1892
1895
"appTemplate" : "ml-apigw-pytorch" ,
@@ -1898,7 +1901,7 @@ def test_init_cli_image_pool_with_base_image_having_one_managed_template_with_pr
1898
1901
no_interactive = True ,
1899
1902
pt_explicit = True ,
1900
1903
package_type = "Image" ,
1901
- base_image = "amazon/python3.8 -base" ,
1904
+ base_image = "amazon/python3.9 -base" ,
1902
1905
dependency_manager = "pip" ,
1903
1906
app_template = "ml-apigw-pytorch" , # same value as appTemplate indicated in the manifest above
1904
1907
name = self .name ,
@@ -1915,7 +1918,7 @@ def test_init_cli_image_pool_with_base_image_having_one_managed_template_with_pr
1915
1918
generate_project_patch .assert_called_once_with (
1916
1919
ANY , # location
1917
1920
"Image" , # package_type
1918
- "python3.8 " , # runtime
1921
+ "python3.9 " , # runtime
1919
1922
"pip" , # dependency_manager
1920
1923
self .output_dir ,
1921
1924
self .name ,
@@ -1936,7 +1939,7 @@ def test_init_cli_image_pool_with_base_image_having_one_managed_template_with_pr
1936
1939
):
1937
1940
init_options_from_manifest_mock .return_value = [
1938
1941
{
1939
- "directory" : "python3.8 -image/cookiecutter-ml-apigw-pytorch" ,
1942
+ "directory" : "python3.9 -image/cookiecutter-ml-apigw-pytorch" ,
1940
1943
"displayName" : "PyTorch Machine Learning Inference API" ,
1941
1944
"dependencyManager" : "pip" ,
1942
1945
"appTemplate" : "ml-apigw-pytorch" ,
@@ -1949,7 +1952,7 @@ def test_init_cli_image_pool_with_base_image_having_one_managed_template_with_pr
1949
1952
no_interactive = True ,
1950
1953
pt_explicit = True ,
1951
1954
package_type = "Image" ,
1952
- base_image = "amazon/python3.8 -base" ,
1955
+ base_image = "amazon/python3.9 -base" ,
1953
1956
dependency_manager = "pip" ,
1954
1957
app_template = "NOT-ml-apigw-pytorch" , # different value than appTemplate shown in the manifest above
1955
1958
name = self .name ,
@@ -2185,7 +2188,7 @@ def test_must_return_runtime_from_base_image_name(self):
2185
2188
"amazon/go1.x-base" ,
2186
2189
"amazon/java11-base" ,
2187
2190
"amazon/nodejs20.x-base" ,
2188
- "amazon/python3.8 -base" ,
2191
+ "amazon/python3.9 -base" ,
2189
2192
"amazon/go-provided.al2-base" ,
2190
2193
"amazon/ruby3.2-base" ,
2191
2194
]
@@ -2195,7 +2198,7 @@ def test_must_return_runtime_from_base_image_name(self):
2195
2198
"go1.x" ,
2196
2199
"java11" ,
2197
2200
"nodejs20.x" ,
2198
- "python3.8 " ,
2201
+ "python3.9 " ,
2199
2202
"go (provided.al2)" ,
2200
2203
"ruby3.2" ,
2201
2204
]
@@ -2266,10 +2269,10 @@ def test_must_process_manifest(self, _get_manifest_mock):
2266
2269
}
2267
2270
]
2268
2271
},
2269
- "python3.8 " : {
2272
+ "python3.9 " : {
2270
2273
"Image" : [
2271
2274
{
2272
- "directory" : "python3.8 -image/cookiecutter-aws-sam-hello-python-lambda-image" ,
2275
+ "directory" : "python3.9 -image/cookiecutter-aws-sam-hello-python-lambda-image" ,
2273
2276
"displayName" : "Hello World Lambda Image Example" ,
2274
2277
"dependencyManager" : "pip" ,
2275
2278
"appTemplate" : "hello-world-lambda-image" ,
0 commit comments