Beispiel #1
0
 def test_get_client_region(self):
     regions = ["us-east-1", "us-west-1", "eu-west-1", "sa-east-1"]
     for region in regions:
         client = boto3.client("s3", region_name=region)
         self.assertEqual(get_client_region(client), region)
Beispiel #2
0
 def test_get_client_region(self):
     regions = ["us-east-1", "us-west-1", "eu-west-1", "sa-east-1"]
     for region in regions:
         client = boto3.client("s3", region_name=region)
         self.assertEqual(get_client_region(client), region)