Skip to content

Commit c1d8c16

Browse files
authored
chore: FOSS add skip tests (#2429)
1 parent 4b0b889 commit c1d8c16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integration/single/test_basic_function.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from unittest.case import skipIf
22

3-
from integration.config.service_names import KMS, XRAY, ARM, CODE_DEPLOY
3+
from integration.config.service_names import KMS, XRAY, ARM, CODE_DEPLOY, HTTP_API
4+
45
from integration.helpers.resource import current_region_does_not_support
56
from parameterized import parameterized
67
from integration.helpers.base_test import BaseTest
@@ -35,6 +36,7 @@ def test_basic_function(self, file_name):
3536
"single/function_alias_with_http_api_events",
3637
]
3738
)
39+
@skipIf(current_region_does_not_support([HTTP_API]), "HTTP API is not supported in this testing region")
3840
def test_function_with_http_api_events(self, file_name):
3941
self.create_and_verify_stack(file_name)
4042

0 commit comments

Comments
 (0)