Пример #1
0
 def setup(self):
     session = boto3.session.Session(
         aws_access_key_id='AAA',
         aws_secret_access_key='AAAA',
         region_name='us-west-2',
     )
     sqs_client = session.client('sqs')
     self.x = AsyncAWSQueryConnection(sqs_client,
                                      http_client=Mock(name='client'))
Пример #2
0
 def setup(self):
     self.x = AsyncAWSQueryConnection('aws.vandelay.com',
                                      http_client=Mock(name='client'))