Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected test and multipart size check #1

Merged
merged 2 commits into from
Nov 14, 2013
Merged

Corrected test and multipart size check #1

merged 2 commits into from
Nov 14, 2013

Conversation

attili
Copy link

@attili attili commented Nov 7, 2013

test_multipart_upload was failing because the .should.throw methods expects a function to call that will raise the exception. Just removing the ()'s passes the complete_upload() function rather than calling it directly.

Also, the size check on multipart uploads does not apply to the total file size, but applies to each individual part except for the last part.

Hopefully this can now be merged in to 'spulec's repository.

kouk added a commit that referenced this pull request Nov 14, 2013
Corrected test and multipart size check
@kouk kouk merged commit 92bebbb into kouk:master Nov 14, 2013
@kouk
Copy link
Owner

kouk commented Nov 14, 2013

thanks @attili !

@attili
Copy link
Author

attili commented Nov 14, 2013

My pleasure.
Is this fork ready to merge back to the main repo @spulec?

@kouk
Copy link
Owner

kouk commented Nov 14, 2013

it is now. I had to merge with some recent refactoring by @spulec but now we are synced and all tests pass.

kouk pushed a commit that referenced this pull request Feb 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants