Skip to content

Commit 13604cd

Browse files
acristinAndrew Cristina
andauthored
fix: Add partition attribute to BaseTest (#2903)
Co-authored-by: Andrew Cristina <[email protected]>
1 parent 5b33ead commit 13604cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

integration/helpers/base_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import botocore
77
import pytest
88
import requests
9+
from samtranslator.translator.arn_generator import ArnGenerator
910
from samtranslator.yaml_helper import yaml_parse
1011
from tenacity import (
1112
after_log,
@@ -95,6 +96,7 @@ def setUpClass(cls):
9596
cls.code_dir = Path(cls.resources_dir, "code")
9697
cls.session = boto3.session.Session()
9798
cls.my_region = cls.session.region_name
99+
cls.partition = ArnGenerator.get_partition_name(cls.my_region)
98100
cls.client_provider = ClientProvider()
99101
cls.file_to_s3_uri_map = read_test_config_file("file_to_s3_map_modified.json")
100102
cls.code_key_to_file = read_test_config_file("code_key_to_file_map.json")

0 commit comments

Comments
 (0)