File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2020 ImageConfig ,
2121 build_image_row ,
2222 check_public_registry ,
23- get_latest_image ,
23+ get_latest_image_uri ,
2424 load_legacy_images ,
2525 load_repository_images ,
2626 sort_by_version ,
@@ -278,12 +278,12 @@ def test_mixed(self, caplog):
278278
279279class TestGetLatestImage :
280280 def test_success (self , mock_paths ):
281- LOGGER .debug ("Testing get_latest_image for valid repo/platform" )
282- uri = get_latest_image ("mock-repo" , "ec2" )
281+ LOGGER .debug ("Testing get_latest_image_uri for valid repo/platform" )
282+ uri = get_latest_image_uri ("mock-repo" , "ec2" )
283283 LOGGER .debug (f"Latest image URI: { uri } " )
284284 assert "mock-repo" in uri
285285 assert "2.0.0-gpu-py312" in uri
286- LOGGER .info ("get_latest_image test passed" )
286+ LOGGER .info ("get_latest_image_uri test passed" )
287287
288288 @pytest .mark .parametrize (
289289 "repo,platform" ,
@@ -292,4 +292,4 @@ def test_success(self, mock_paths):
292292 )
293293 def test_not_found (self , mock_paths , repo , platform ):
294294 with pytest .raises (ValueError , match = "Image not found" ):
295- get_latest_image (repo , platform )
295+ get_latest_image_uri (repo , platform )
You can’t perform that action at this time.
0 commit comments