opsworks/tests: init boto3.client with region_name='us-east-1'
This commit is contained in:
parent
1ce22068ea
commit
9ce1890f35
3 changed files with 7 additions and 7 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue