Skip to content

Commit

Permalink
simplify AwsQueueClientTest
Browse files Browse the repository at this point in the history
  • Loading branch information
holger-zeit committed Apr 11, 2018
1 parent cf09a01 commit 9b226ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eb_sqs/tests/aws/tests_aws_queue_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()

Expand Down

0 comments on commit 9b226ec

Please sign in to comment.