File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 4
4
from botocore .exceptions import ClientError
5
5
6
6
from integration .config .service_names import REST_API
7
+ from integration .config .service_names import LAYERS
7
8
from integration .helpers .base_test import LOG , BaseTest
8
9
from integration .helpers .common_api import get_function_versions
9
10
from integration .helpers .resource import current_region_does_not_support
@@ -160,6 +161,7 @@ def test_alias_with_event_sources_get_correct_permissions(self):
160
161
function_policy = json .loads (function_policy_str )
161
162
self .assertEqual (len (function_policy ["Statement" ]), len (permission_resources ))
162
163
164
+ @skipIf (current_region_does_not_support ([LAYERS ]), "Layers is not supported in this testing region" )
163
165
def test_function_with_alias_and_layer_version (self ):
164
166
self .create_and_verify_stack ("combination/function_with_alias_all_properties_and_layer_version" )
165
167
alias_name = "Live"
You can’t perform that action at this time.
0 commit comments