Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: third_party/boto/tests/integration/s3/test_multipart.py

Issue 698893003: Update checked in version of gsutil to version 4.6 (Closed) Base URL: http://dart.googlecode.com/svn/third_party/gsutil/
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/boto/tests/integration/s3/test_multipart.py
===================================================================
--- third_party/boto/tests/integration/s3/test_multipart.py (revision 33376)
+++ third_party/boto/tests/integration/s3/test_multipart.py (working copy)
@@ -100,6 +100,17 @@
self.assertEqual(lmpu.id, ompu.id)
self.assertEqual(0, len(mpus))
+ def test_get_all_multipart_uploads(self):
+ key1 = 'a'
+ key2 = 'b/c'
+ mpu1 = self.bucket.initiate_multipart_upload(key1)
+ mpu2 = self.bucket.initiate_multipart_upload(key2)
+ rs = self.bucket.get_all_multipart_uploads(prefix='b/', delimiter='/')
+ for lmpu in rs:
+ # only expect upload for key2 (mpu2) returned
+ self.assertEqual(lmpu.key_name, mpu2.key_name)
+ self.assertEqual(lmpu.id, mpu2.id)
+
def test_four_part_file(self):
key_name = "k"
contents = "01234567890123456789"
« no previous file with comments | « third_party/boto/tests/integration/s3/test_key.py ('k') | third_party/boto/tests/integration/sts/test_session_token.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698