From: Sage Weil Date: Wed, 5 Oct 2011 23:04:20 +0000 (-0700) Subject: add s3tests.functional.test_s3.test_bucket_list_distinct X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e486100a604209481b5f1e1ebcb2e171ae930b51;p=s3-tests.git add s3tests.functional.test_s3.test_bucket_list_distinct --- diff --git a/s3tests/functional/test_s3.py b/s3tests/functional/test_s3.py index a7730c4d..63f1630c 100644 --- a/s3tests/functional/test_s3.py +++ b/s3tests/functional/test_s3.py @@ -67,6 +67,14 @@ def test_bucket_list_empty(): l = list(l) eq(l, []) +def test_bucket_list_distinct(): + bucket1 = get_new_bucket() + bucket2 = get_new_bucket() + key = bucket1.new_key('asdf') + key.set_contents_from_string('asdf') + l = bucket2.list() + l = list(l) + eq(l, []) def _create_keys(bucket=None, keys=[]): if bucket is None: