Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Spacca committed Nov 24, 2023
1 parent 2036bb9 commit 7f8ff12
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/handlers/aws/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,7 @@ def _kinesis_retrieve_event_from_kinesis_stream(
def _sqs_create_queue(client: BotoBaseClient, queue_name: str, endpoint_url: str = "") -> dict[str, Any]:
queue_url = client.create_queue(QueueName=queue_name)["QueueUrl"]
queue_arn = client.get_queue_attributes(QueueUrl=queue_url, AttributeNames=["QueueArn"])["Attributes"]["QueueArn"]
return {
"QueueArn": queue_arn,
"QueueUrl": queue_url,
"QueueUrlPath": get_queue_url_from_sqs_arn(queue_arn)
}
return {"QueueArn": queue_arn, "QueueUrl": queue_url, "QueueUrlPath": get_queue_url_from_sqs_arn(queue_arn)}


def _sqs_send_messages(client: BotoBaseClient, queue_url: str, message_body: str) -> None:
Expand Down

0 comments on commit 7f8ff12

Please sign in to comment.