Skip to content

Commit

Permalink
editorial fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
meyertst-aws committed Jan 2, 2025
1 parent b6438af commit 6bdd7a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
6 changes: 3 additions & 3 deletions python/example_code/ecr/ecr_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"""
Purpose
Shows how to use the AWS SDK for Python (Boto3) with Amazon Elastic Container Registry (Amazon ECR) API to schedule
and receive events.
Shows how to use the AWS SDK for Python (Boto3) with Amazon Elastic Container Registry (Amazon ECR) API to perform
actions.
"""

import logging
Expand Down Expand Up @@ -243,4 +243,4 @@ def describe_images(
try:
ecr_wrapper = ECRWrapper.from_client()
except Exception:
logging.exception("Something went wrong with the demo!")
logging.exception("Something went wrong creating a client!")
9 changes: 0 additions & 9 deletions python/example_code/ecr/test/test_ecr_getting_started.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,6 @@ def test_ecr_getting_started(mock_mgr):
("TESTERROR-stub_put_lifecycle_policy", 5),
("TESTERROR-stub_describe_images", 6),
("TESTERROR-stub_delete_repository", 7),
# ("TESTERROR-stub_create_portal", 8),
# ("TESTERROR-stub_describe_portal", 9),
# ("TESTERROR-stub_create_gateway", 10),
# ("TESTERROR-stub_describe_gateway", 11),
# ("TESTERROR-stub_delete_gateway", 11),
# ("TESTERROR-stub_delete_portal", 11),
# ("TESTERROR-stub_delete_asset", 11),
# ("TESTERROR-stub_delete_asset_model", 11),
# ("TESTERROR-stub_delete_stack", 12),
],
)
@pytest.mark.integ
Expand Down

0 comments on commit 6bdd7a7

Please sign in to comment.