mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-22 09:29:43 +00:00
add s3tests.functional.test_s3.test_bucket_list_distinct
This commit is contained in:
parent
211df8dc22
commit
e486100a60
1 changed files with 8 additions and 0 deletions
|
@ -67,6 +67,14 @@ def test_bucket_list_empty():
|
||||||
l = list(l)
|
l = list(l)
|
||||||
eq(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=[]):
|
def _create_keys(bucket=None, keys=[]):
|
||||||
if bucket is None:
|
if bucket is None:
|
||||||
|
|
Loading…
Reference in a new issue