Skip to content

Commit

Permalink
Add assertion to test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgtaylor committed Feb 10, 2015
1 parent aaab03e commit df4d95b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/test_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_s3_multipart(self):

# Create and upload a part
part = mpu.Part(1)
response = part.upload(b'hello, world!')
response = part.upload(Body='hello, world!')

# Complete the upload, which requires info on all of the parts
part_info = {
Expand All @@ -118,3 +118,6 @@ def test_s3_multipart(self):

mpu.complete(MultipartUpload=part_info)
self.addCleanup(bucket.Object('mp-test.txt').delete)

contents = bucket.Object('mp-test.txt').get()['Body'].read()
self.assertEqual(contents, b'hello, world!')

0 comments on commit df4d95b

Please sign in to comment.