mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 11:51:06 +00:00
Test listing a blob which ends with delimiter
This has a different behavior than when the blob does not end with the delimiter. Signed-off-by: Andrew Gaul <andrew@gaul.org>
This commit is contained in:
parent
2cf6908e15
commit
f642492ee9
1 changed files with 8 additions and 0 deletions
|
@ -234,6 +234,14 @@ def test_bucket_list_delimiter_prefix():
|
|||
|
||||
marker = validate_bucket_list(bucket, prefix, delim, '', 2, False, ['boo/bar'], ['boo/baz/'], None)
|
||||
|
||||
@attr(resource='bucket')
|
||||
@attr(method='get')
|
||||
@attr(operation='list')
|
||||
@attr(assertion='prefix and delimiter handling when object ends with delimiter')
|
||||
def test_bucket_list_delimiter_prefix_ends_with_delimiter():
|
||||
bucket = _create_keys(keys=['asdf/'])
|
||||
validate_bucket_list(bucket, 'asdf/', '/', '', 1000, False, ['asdf/'], [], None)
|
||||
|
||||
@attr(resource='bucket')
|
||||
@attr(method='get')
|
||||
@attr(operation='list')
|
||||
|
|
Loading…
Reference in a new issue