diff --git a/tests/test_opsworks/test_instances.py b/tests/test_opsworks/test_instances.py index 0175eec47..28187c2b0 100644 --- a/tests/test_opsworks/test_instances.py +++ b/tests/test_opsworks/test_instances.py @@ -8,7 +8,7 @@ from moto import mock_ec2 @mock_opsworks def test_create_instance(): - client = boto3.client('opsworks') + client = boto3.client('opsworks', region_name='us-east-1') stack_id = client.create_stack( Name="test_stack_1", Region="us-east-1", @@ -48,7 +48,7 @@ def test_describe_instances(): populate S2L2 with 3 instances (S2L2_i1..2) """ - client = boto3.client('opsworks') + client = boto3.client('opsworks', region_name='us-east-1') S1 = client.create_stack( Name="S1", Region="us-east-1", @@ -138,7 +138,7 @@ def test_ec2_integration(): instances created via OpsWorks should be discoverable via ec2 """ - opsworks = boto3.client('opsworks') + opsworks = boto3.client('opsworks', region_name='us-east-1') stack_id = opsworks.create_stack( Name="S1", Region="us-east-1", diff --git a/tests/test_opsworks/test_layers.py b/tests/test_opsworks/test_layers.py index 128a846f8..005fa192e 100644 --- a/tests/test_opsworks/test_layers.py +++ b/tests/test_opsworks/test_layers.py @@ -8,7 +8,7 @@ from moto import mock_opsworks @mock_opsworks def test_create_layer_response(): - client = boto3.client('opsworks') + client = boto3.client('opsworks', region_name='us-east-1') stack_id = client.create_stack( Name="test_stack_1", Region="us-east-1", @@ -47,7 +47,7 @@ def test_create_layer_response(): @mock_opsworks def test_describe_layers(): - client = boto3.client('opsworks') + client = boto3.client('opsworks', region_name='us-east-1') stack_id = client.create_stack( Name="test_stack_1", Region="us-east-1", diff --git a/tests/test_opsworks/test_stack.py b/tests/test_opsworks/test_stack.py index 8bb682cad..874c09ff1 100644 --- a/tests/test_opsworks/test_stack.py +++ b/tests/test_opsworks/test_stack.py @@ -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),