Skip to content

Commit fdaa7fd

Browse files
committed
chore: add comment explaining test
1 parent 3852722 commit fdaa7fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integ/sagemaker/jumpstart/model/test_jumpstart_model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,9 @@ def test_jumpstart_session_with_config_name():
403403
assert model.config_name is not None
404404
session = model.sagemaker_session
405405

406+
# we're mocking the http request, so it's expected to raise an Exception.
407+
# we're interested that the low-level request attaches the correct
408+
# jumpstart-related tags.
406409
with mock.patch("botocore.client.BaseClient._make_request") as mock_make_request:
407410
try:
408411
session.sagemaker_client.list_endpoints()

0 commit comments

Comments
 (0)