Skip to content

Commit e8dfd57

Browse files
committed
fix broken unit test
1 parent 53f4534 commit e8dfd57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/sagemaker/jumpstart/hub/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ def test_construct_hub_model_reference_arn_from_inputs():
100100
hub_arn = "arn:aws:sagemaker:us-west-2:123456789123:hub/my-mock-hub"
101101

102102
assert (
103-
utils.construct_hub_model_arn_from_inputs(hub_arn, model_name, version)
103+
utils.construct_hub_model_arn_reference_from_inputs(hub_arn, model_name, version)
104104
== "arn:aws:sagemaker:us-west-2:123456789123:hub-content/my-mock-hub/ModelReference/pytorch-ic-imagenet-v2/1.0.2"
105105
)
106106

107107
version = "*"
108108
assert (
109-
utils.construct_hub_model_arn_from_inputs(hub_arn, model_name, version)
109+
utils.construct_hub_model_arn_reference_from_inputs(hub_arn, model_name, version)
110110
== "arn:aws:sagemaker:us-west-2:123456789123:hub-content/my-mock-hub/ModelReference/pytorch-ic-imagenet-v2/*"
111111
)
112112

0 commit comments

Comments
 (0)