File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change
1
+ from unittest .case import skipIf
2
+
1
3
from time import sleep
2
4
from unittest import SkipTest
3
5
from parameterized import parameterized
4
6
from tenacity import retry , stop_after_attempt , retry_if_exception
5
7
from integration .conftest import clean_bucket
6
8
from integration .helpers .base_test import S3_BUCKET_PREFIX , BaseTest
7
- from integration .helpers .resource import generate_suffix
9
+ from integration .helpers .resource import generate_suffix , current_region_does_not_support
10
+ from integration .config .service_names import LOCATION
8
11
9
12
retry_once = retry (
10
13
stop = stop_after_attempt (2 ),
13
16
)
14
17
15
18
19
+ @skipIf (
20
+ current_region_does_not_support ([LOCATION ]),
21
+ "Location service is not supported in this testing region" ,
22
+ )
16
23
class TestConnectors (BaseTest ):
17
24
def tearDown (self ):
18
25
# Some tests will create items in S3 Bucket, which result in stack DELETE_FAILED state
Original file line number Diff line number Diff line change 7
7
REST_API = "RestApi"
8
8
IOT = "IoT"
9
9
CODE_DEPLOY = "CodeDeploy"
10
+ LOCATION = "Location"
10
11
ARM = "ARM"
11
12
GATEWAY_RESPONSES = "GatewayResponses"
12
13
MSK = "MSK"
You can’t perform that action at this time.
0 commit comments