Test Boto 2.43.0 .

This commit is contained in:
Steve Pulec 2016-11-06 10:29:50 -05:00
parent 3b98566f20
commit 38021c6ef5
3 changed files with 4 additions and 4 deletions

View File

@ -5,11 +5,11 @@ python:
- 2.7
env:
matrix:
- BOTO_VERSION=2.36.0
- BOTO_VERSION=2.43.0
matrix:
include:
- python: "3.3"
env: BOTO_VERSION=2.36.0
env: BOTO_VERSION=2.43.0
install:
- travis_retry pip install boto==$BOTO_VERSION
- travis_retry pip install boto3

View File

@ -183,7 +183,7 @@ class SQSResponse(BaseResponse):
message = self.sqs_backend.send_message(queue_name, message_body[0], delay_seconds=delay_seconds)
message.user_id = message_user_id
message_attributes = parse_message_attributes(self.querystring, base='SendMessageBatchRequestEntry.{0}.'.format(index), value_namespace='')
message_attributes = parse_message_attributes(self.querystring, base='SendMessageBatchRequestEntry.{0}.'.format(index))
if type(message_attributes) == tuple:
return message_attributes[0], message_attributes[1]
message.message_attributes = message_attributes

View File

@ -23,7 +23,7 @@ def test_lifecycle_create():
lifecycle.id.should.equal('myid')
lifecycle.prefix.should.equal('')
lifecycle.status.should.equal('Enabled')
lifecycle.transition.should.equal(None)
list(lifecycle.transition).should.equal([])
@mock_s3