Skip to content

Commit e0b8467

Browse files
author
malavhs
committed
Adding more assertions
1 parent 9e29524 commit e0b8467

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integ/sagemaker/jumpstart/private_hub/test_hub_content.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ def test_hub_model_reference(setup):
3939
describe_model_response = hub_instance.describe_model(model_name=model_id)
4040
assert describe_model_response is not None
4141
assert type(describe_model_response) == DescribeHubContentResponse
42+
assert describe_model_response.hub_content_name == model_id
43+
assert describe_model_response.hub_content_type == "ModelReference"
4244

4345
delete_model_response = hub_instance.delete_model_reference(model_name=model_id)
4446
assert delete_model_response is not None

0 commit comments

Comments
 (0)