Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion integration/combination/test_function_with_alias.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from botocore.exceptions import ClientError

from integration.config.service_names import REST_API
from integration.config.service_names import LAYERS, REST_API
from integration.helpers.base_test import LOG, BaseTest
from integration.helpers.common_api import get_function_versions
from integration.helpers.resource import current_region_does_not_support
Expand Down Expand Up @@ -160,6 +160,7 @@ def test_alias_with_event_sources_get_correct_permissions(self):
function_policy = json.loads(function_policy_str)
self.assertEqual(len(function_policy["Statement"]), len(permission_resources))

@skipIf(current_region_does_not_support([LAYERS]), "Layers is not supported in this testing region")
def test_function_with_alias_and_layer_version(self):
self.create_and_verify_stack("combination/function_with_alias_all_properties_and_layer_version")
alias_name = "Live"
Expand Down