File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33
44from botocore .exceptions import ClientError
55
6- from integration .config .service_names import REST_API
6+ from integration .config .service_names import LAYERS , REST_API
77from integration .helpers .base_test import LOG , BaseTest
88from integration .helpers .common_api import get_function_versions
99from integration .helpers .resource import current_region_does_not_support
@@ -160,6 +160,7 @@ def test_alias_with_event_sources_get_correct_permissions(self):
160160 function_policy = json .loads (function_policy_str )
161161 self .assertEqual (len (function_policy ["Statement" ]), len (permission_resources ))
162162
163+ @skipIf (current_region_does_not_support ([LAYERS ]), "Layers is not supported in this testing region" )
163164 def test_function_with_alias_and_layer_version (self ):
164165 self .create_and_verify_stack ("combination/function_with_alias_all_properties_and_layer_version" )
165166 alias_name = "Live"
You can’t perform that action at this time.
0 commit comments