diff --git a/python/example_code/ecr/ecr_wrapper.py b/python/example_code/ecr/ecr_wrapper.py index 9a18964605f..4378f5f4bb3 100644 --- a/python/example_code/ecr/ecr_wrapper.py +++ b/python/example_code/ecr/ecr_wrapper.py @@ -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 @@ -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!") diff --git a/python/example_code/ecr/test/test_ecr_getting_started.py b/python/example_code/ecr/test/test_ecr_getting_started.py index d167b86d95b..c9de6a6e711 100644 --- a/python/example_code/ecr/test/test_ecr_getting_started.py +++ b/python/example_code/ecr/test/test_ecr_getting_started.py @@ -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