Skip to content

Commit f13310d

Browse files
authored
Update aka.ms link of JPEG test image used in Image Analysis SDK tests (#34294)
Update the aka.ms URL link that points to the JPEG image used in test, to better match the Azure SDK aka.ms links format. Both URL links resolve to the same JPEG image file in one of the public Azure SDK repos, so there is no actual change in test. Sample code is already using the new aka.ms link. Looks like I forgot to update the test a while back when I did the change. Update test recording assets to reflect the change.
1 parent 2d68ec7 commit f13310d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/vision/azure-ai-vision-imageanalysis/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "python",
44
"TagPrefix": "python/vision/azure-ai-vision-imageanalysis",
5-
"Tag": "python/vision/azure-ai-vision-imageanalysis_a18b3495f0"
5+
"Tag": "python/vision/azure-ai-vision-imageanalysis_c2497c4b3c"
66
}

sdk/vision/azure-ai-vision-imageanalysis/tests/image_analysis_test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class ImageAnalysisTestBase(AzureRecordedTestCase):
4747
PRINT_ANALYSIS_RESULTS = True
4848

4949
# We use a single image (the same one) for all error-free tests, one hosted on the web and one local
50-
IMAGE_URL = "https://aka.ms/azai/vision/image-analysis-sample.jpg"
50+
IMAGE_URL = "https://aka.ms/azsdk/image-analysis/sample.jpg"
5151
IMAGE_FILE = path.abspath(path.join(path.abspath(__file__), "..", "./sample.jpg"))
5252

5353
def _create_client_for_standard_analysis(self, sync: bool, get_connection_url: bool = False, **kwargs):

0 commit comments

Comments
 (0)