From 9b226ec891904ad451f5f0a3145b200da4441bba Mon Sep 17 00:00:00 2001 From: holger Date: Wed, 11 Apr 2018 11:04:19 +0300 Subject: [PATCH] simplify AwsQueueClientTest --- eb_sqs/tests/aws/tests_aws_queue_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eb_sqs/tests/aws/tests_aws_queue_client.py b/eb_sqs/tests/aws/tests_aws_queue_client.py index f084f74..646c989 100644 --- a/eb_sqs/tests/aws/tests_aws_queue_client.py +++ b/eb_sqs/tests/aws/tests_aws_queue_client.py @@ -14,7 +14,7 @@ class AwsQueueClientTest(TestCase): @mock_sqs() def test_add_message(self): - sqs = boto3.resource('sqs', region_name=settings.AWS_REGION) + sqs = boto3.resource('sqs') queue = sqs.create_queue(QueueName='eb-sqs-default') queue_client = SqsQueueClient() @@ -27,7 +27,7 @@ def test_add_message(self): @mock_sqs() def test_add_message_delayed(self): delay = 1 - sqs = boto3.resource('sqs', region_name=settings.AWS_REGION) + sqs = boto3.resource('sqs') queue = sqs.create_queue(QueueName='eb-sqs-default') queue_client = SqsQueueClient()