summaryrefslogtreecommitdiff
path: root/t/unit/asynchronous/aws/test_aws.py
blob: 93d92e4bdcf774691e2528e005edda56922a265a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from unittest.mock import Mock

from kombu.asynchronous.aws import connect_sqs

from .case import AWSCase


class test_connect_sqs(AWSCase):

    def test_connection(self):
        x = connect_sqs('AAKI', 'ASAK', http_client=Mock())
        assert x
        assert x.sqs_connection