|
1 | 1 | from unittest.case import skipIf
|
2 | 2 |
|
3 |
| -from integration.config.service_names import KMS, XRAY, ARM |
| 3 | +from integration.config.service_names import KMS, XRAY, ARM, CODE_DEPLOY, HTTP_API |
4 | 4 | from integration.helpers.resource import current_region_does_not_support
|
5 | 5 | from parameterized import parameterized
|
6 | 6 | from integration.helpers.base_test import BaseTest
|
@@ -35,6 +35,7 @@ def test_basic_function(self, file_name):
|
35 | 35 | "single/function_alias_with_http_api_events",
|
36 | 36 | ]
|
37 | 37 | )
|
| 38 | + @skipIf(current_region_does_not_support([HTTP_API]), "HTTP API is not supported in this testing region") |
38 | 39 | def test_function_with_http_api_events(self, file_name):
|
39 | 40 | self.create_and_verify_stack(file_name)
|
40 | 41 |
|
@@ -98,6 +99,7 @@ def test_basic_function_with_url_config(self, file_name, qualifier):
|
98 | 99 | self.assertEqual(function_url_config["Cors"], cors_config)
|
99 | 100 | self._assert_invoke(lambda_client, function_name, qualifier, 200)
|
100 | 101 |
|
| 102 | + @skipIf(current_region_does_not_support([CODE_DEPLOY]), "CodeDeploy is not supported in this testing region") |
101 | 103 | def test_function_with_deployment_preference_alarms_intrinsic_if(self):
|
102 | 104 | self.create_and_verify_stack("single/function_with_deployment_preference_alarms_intrinsic_if")
|
103 | 105 |
|
|
0 commit comments