opsworks/tests: init boto3.client with region_name='us-east-1'

This commit is contained in:
Vladimir Sudilovsky 2016-04-18 16:03:13 -04:00
commit 9ce1890f35
3 changed files with 7 additions and 7 deletions

View file

@ -8,7 +8,7 @@ from moto import mock_opsworks
@mock_opsworks
def test_create_stack_response():
client = boto3.client('opsworks')
client = boto3.client('opsworks', region_name='us-east-1')
response = client.create_stack(
Name="test_stack_1",
Region="us-east-1",
@ -20,7 +20,7 @@ def test_create_stack_response():
@mock_opsworks
def test_describe_stacks():
client = boto3.client('opsworks')
client = boto3.client('opsworks', region_name='us-east-1')
for i in range(1, 4):
client.create_stack(
Name="test_stack_{}".format(i),