From e486100a604209481b5f1e1ebcb2e171ae930b51 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 5 Oct 2011 16:04:20 -0700 Subject: [PATCH] add s3tests.functional.test_s3.test_bucket_list_distinct --- s3tests/functional/test_s3.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/s3tests/functional/test_s3.py b/s3tests/functional/test_s3.py index a7730c4..63f1630 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: